Skip to content

Code Krispies

Developer Blog By Darryl Edwards

Category: CSS

Chrome Dev Tools – element mutation events

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

Published July 1, 2022
Categorized as CSS, Javascript, Process

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

Published March 2, 2021
Categorized as CSS

Recent Posts

  • Anti-pattern – are You overusing useEffect?
  • TypeScript best practice guide
  • TypeScript: any vs unknown
  • errors: dev time vs compile time vs runtime
  • TypeScript – don’t misuse casting

Recent Comments

No comments to show.
Code Krispies
Proudly powered by WordPress.