The meme was not about bad or good… It’s about Colors (CSS = Barbie), and Complexity (JS = Oppenheimer)
CSS is coloring and styling in programming, Ma’am… It fits to describe the Barbie movie because of its vibrant colors
JS is about logic and calculations… More like science in Oppenheimer
In HTML:
div class=“hands”>
In CSS:
.hands
A dot in CSS means you’re referring to an HTML Class. Note that this is different from the OOP Class in scripting languages. Think of HTML classes as classrooms. You can have multiple divs with the same class name, each will be affected when you style that class name. Just like students follow the same rule when applied to a classroom.
In some specific instances, ID is used instead of class. # is used in CSS instead of a dot. The only difference is that in ID, each element should have a unique ID.
div id=“right-arm”
CSS: #right-arm
No… My bad… Normally I use PostCSS
WASM knows kung-fu