Difference between an id and a class in css
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;
}
<...
·3 min read·rennee04.hashnode.devRead the article
Nifemi Adeyemi
Well done This was insightful 🤩