-
Notifications
You must be signed in to change notification settings - Fork 0
Description
-
Simple class:
background-color-[yellow]
appliesbackground-color: yellow
. -
Multiple classes:
“background-[black] color-[white]” appliesbackground: black; color: white
. -
Simple class with event
“blur:color-[purple]” appliescolor: purple
for “blur” event. -
Multiple events with simple class
“mouseenter:text-decoration-[underline] mouseleave:text-decoration-[none]” appliestext-decoration: underline
andtext-decoration: none
respectively for the “mouseenter” and “mouseleave” events. -
Multiple classe with event:
“mouseover:{transition-[1s] background-[gainsboro]} appliestransition: 1s;background: gainsboro
for the “mouseover” event. -
Simple class with selector:
“[a]:text-decoration-[none]” appliestext-decoration: none
to the elements matching the selector “a” -
Multiple classes with selector:
“[a]:{text-decoration-[none] color-[black]” appliestext-decoration: none; color: black
to the elements matching the selector “a”. -
Simple class with event and selector:
“blur:[a]:color-[purple]” appliescolor: purple
to the elements matching the selector “a” on “blur” event. -
Multiple classes with event and selector
“blur:[a]:{transition-[1s] color-[purple]}” appliestransition: 1s; color: purple
to the elements matching the selector “a” on “blur” event. -
Multiple events with simple class:
“{blur,click}:color-[purple]” appliescolor: purple
for “blur” and “click” events. -
Multiple events with multiple classes:
“{blur,click}:{transition-[1s] color-[purple]}” appliescolor: purple
for “blur” and “click” events. -
No class after rendering the document:
“{blur,click}:{transition-[1s] color-[purple]}” appliescolor: purple
for “blur” and “click” events and there is no class “{blur,click}:{transition-[1s] color-[purple]}”.
Metadata
Metadata
Assignees
Labels
Projects
Status