CSS Practices To Avoid as a Web Developer Some bad CSS habits and how to fix them… Aaquib Developer Follow May 25, 2021 · 4 min read CSS Practice to Avoid asa Web Developer. After some research about what can we do, I’ve come up with five developer habits that I don’t like.
Table of contents
CSS Practices To Avoid as a Web Developer1. Set Margins or Padding and Then Reset Them2. Add display: block for Elements With position: absolute or position: fixed3. Use transform: translate (-50%, -50%) To Center4. Use width: 100% for Block Elements5. Set display: block for Flex ItemsConclusionLearn More1 Comment
Sort: