Skip to content

Commit ccf80ba

Browse files
committed
index setup and font unit
1 parent 30aab25 commit ccf80ba

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

Readme.md

+32-1
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,35 @@ are said to be measurment of inner content .
146146

147147
on the top of content there is padding , on the top of padding there is border ,on the top of border there is margin
148148

149-
#
149+
# Colors
150+
151+
-> HexaDecimal #RRGGBB
152+
value of RR,GG,BB varies between 00 to ff
153+
-> rgb(r,g,b,opacity optional)
154+
0-255 , optional 0-100
155+
-> pre defined color in css/html
156+
140 presents
157+
158+
# font
159+
160+
-> font -family
161+
-> font-weight
162+
-> font style
163+
-> emphasis & importance
164+
-> How to add external fonts
165+
166+
# Units in CSS
167+
168+
-> Absolute unit
169+
mm , cm , in , px = (1/96)inch
170+
-> Percentage unit
171+
applied on parents
172+
-> Relative unit
173+
Relatie to font size
174+
--> em = relative to parent (multipiles)
175+
--> rem = relative to root ( root element is html element)
176+
Related to Document
177+
-->vw = (1/100) _ width of view port
178+
->vh = (1/100) _ height of view port
179+
180+
# diff between 1% and 1 vw ?

0 commit comments

Comments
 (0)