Difference between an id and a class in css
Nov 14, 2020 · 3 min read · When you write a simple css code it almost feels like you can use an id and a class interchangeably -after all they produce seemingly equal outputs- but you can't-per say- And I'm going to tell you why <style> .red-socks{ color: #ff0; } <...
ODNifemi and 1 more commented