What do you want to save?
Add Code snippet
New code examples
-
CSS 2022-03-01 10:05:01
css how to remember psudoelements vs pesudo classes
/* Pseudo classes: • Selects actual elements (e.g. p or div) • Based on some condition that is probably not part of the HTML DOM • e.g if the user is hovering over it (:hover) • But sometimes it is stuff that woul... Add solution -
CSS 2021-10-05 13:09:04
transition background gradient
In CSS, you can't transition a background gradient. It jumps from one gradient to the other immediately, with no smooth transition between the two. He documents a clever tactic of positioning a pseudo element covering the element with a different backgrou... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5