Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css style units

<div style="border-radius: 12px">OK</div>
                            |
                            V
you can also use different units like: 
cm = centimeters
mm = millimeters
in = inches (1in = 96px = 2.54cm)
px = pixels (1px = 1/96th of 1in)
pt = points (1pt = 1/72 of 1in)
pc = picas (1pc = 12 pt)

rem	 = Relative to font-size of the root element
% = Relative to the parent element
 
PREVIOUS NEXT
Tagged: #css #style #units
ADD COMMENT
Topic
Name
9+5 =