Flex is flexibility of item it can move easily in a container or border. It have two directions they are Column and Row. But default flex direction is Row and in css have property named justify content and align items
- ul { Display:flex; Justify content:centre; }
- Ul { Display:flex; Align items:end; }
Then,we discussed about margin and padding
Ul {
Margin:auto;
Padding:10px;
}
Happy learning😀
Top comments (0)