Have you ever had trouble debugging an element that is conditionally visible. If it was visible because of a css hover state, this might be quite simple, as most developers will be aware that the inspector allows us to force a state, but sometimes forcing this state does not show the conditionally visible element, and… Continue reading Chrome Dev Tools – element mutation events
Category: CSS
CSS – don’t write more than you need to
Let’s look at an example of when you might write more CSS than you need to: Why is this more than you need? This is simply because you get the second line for free, once you have declared display:flex; the browsers CSS engine will now consider that element as a flex box, and by default… Continue reading CSS – don’t write more than you need to