As a Web Developer, you should avoid 5 CSS Practices as mentioned below.
1. Set Margins or Padding and Then Reset Them
2. Add display: block for Elements With position: absolute or position: fixed
3. Use transform: translate (-50%, -50%) To Center
4. Use width: 100% for Block Elements
5. Set display: block for Flex Items
#css3 #cssgoodpractices #csstricks
1. Set Margins or Padding and Then Reset Them
2. Add display: block for Elements With position: absolute or position: fixed
3. Use transform: translate (-50%, -50%) To Center
4. Use width: 100% for Block Elements
5. Set display: block for Flex Items
#css3 #cssgoodpractices #csstricks
- Category
- Web design
Be the first to comment