#css #development #frontend #pattern #reading-list
🔗 Empty states with CSS and the selector
On Twitter I came across a great tip on displaying empty states with CSS.
When you're rendering a list, I often wrap a loop in an if/else statement to display an empty state when the list is empty.
⚠️ This post links to an external website. ⚠️
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.