- We will use the main properties of CSS i.e Flex and inline-flex.
A thread 🧵
1. First, we will make an HTML structure.
- We are taking 3 icons.
2. Next, we will make the container a flex.
-> To make the gap between icons we use justify-content: space-between.
--> Width and max-width mean the container will not be larger than max-width and if the width is less than the max-width then the container width will be 80%.