+ adjacent, > child, * count- a+ul>li*3
- a+ul.nav-items>li.nav-item*3
link:css- Creates the link tag
line-height- Vertical centering for single-line text
display: flex- Composed of a container and child elements as items
-
Box model- Think of everything as squares!
-
position: absolute;- Use absolute when you want to place something at the edge of something
- Use flex when you want to place on the side
-
flex-
Parent element (container)
- The element with
display: flex;applied - inline, block do not apply
- The element with
-
Child elements (items)
-
main axis
justify-content
-
cross axis
-
align-items: Mainly used for vertical alignment
-
-
-
rem: A typical browser is 16px
-
box-sizing: border-box; -
margin: top-bottom / left-right;