💡 CSS Tip!

Ready to start using style queries and if()? Which of the following syntaxes do you think is the correct one? Spoiler: Both of them are valid!

https://css-tip.com/if-trick/

Learn the difference between them and when to use each one. It's the key to correctly using these features.

#CSS #HTML

Without testing the code below, what color will each box have?

Read my last post if you want to understand the correct answer (you will be surprised!)

https://css-tip.com/if-trick/

#CSS #HTML

@css I literally just finished reading it!
1. green
2. red
3. red
4. green