ui-css-patterns

Installation
SKILL.md

UI CSS Patterns

CSS patterns for pseudo-elements, animations, and transitions in mobile/desktop app development.

::before & ::after Pseudo-Elements

Rule: pseudo-content-required

::before and ::after require the content property to render, even if empty.

Fail:

.element::before {
  width: 20px;
  height: 20px;
  background: red;
}
Installs
3
GitHub Stars
4
First Seen
Mar 6, 2026