absolute ceil

If the CSS position value of a container element is 'relative',

then any absolutely positioned elements

contained by a relatively positioned element will be placed

in relation to that container element.

 

the contained element will appear 0px to the left and top pixels

from the container element.

 

 

 

The ceil property has the following syntax:

Math.ceil(number)

This will round up any floating-point number to the nearest integer.

 

There is a corresponding floor property(!?) that will round any floating-point

number down to the nearest integer

Math.floor(number)

 

The round property will round any floating-point number to whichever

whole number is closest.

Math.round(number)

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章