Search
 
SCRIPT & CODE EXAMPLE
 

CSS

rem in css

16px=1rem
Comment

rem in css

html {
	font-size: 18px; // default value would be 16
}

h1 {
 	font-size: 2rem; // 2 * 18px = 36px;
}
Comment

rem css

  1 rem = root size of html = 16px
Comment

rem css

10px = 0.625rem
12px = 0.75rem
14px = 0.875rem
16px = 1rem (base)
18px = 1.125rem
20px = 1.25rem
24px = 1.5rem
30px = 1.875rem
32px = 2rem
Comment

PREVIOUS NEXT
Code Example
Css :: style checkmark css 
Css :: css second line indent 
Css :: make element fit in vh and vw 
Css :: css efeito negativo fotos 
Css :: css styles responsive password input eye 
Css :: css ein bisschen durchsichtig 
Css :: difference bw box and border box 
Css :: css display original image in smalle width 
Css :: css child selector 
Css :: css let div be last 
Css :: === git ignore 
Css :: how to change what your cursor looks like 
Css :: css block 
Css :: css has parent selector 
Css :: logic in css 
Css :: add border at hover of div 
Css :: pixel css 
Css :: selector css 
Css :: page html css template 
Css :: grid all items same height 
Css :: how to watch sass in multiple pathes 
Css :: margin and padding setting for standard as usual website 
Css :: css broken image has top margin? 
Css :: chrome simulate prefers reduced motion 
Css :: -webkit-animation css 
Css :: i tag in html , <i tag in html 
Css :: immagini con transizioni css bootstrap 
Css :: how to debug datatables 
Css :: revert workflow version servicenow 
Css :: position absolute prevent overflow 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =