A super-simple, Live CSS Code Editor with no JavaScript
5 min readOct 15, 2021
Let’s build a Live Code Editor with just a few lines of HTML and CSS!
You have almost certainly styled anchor elements before using their pseudo-classes (:link
, :visited
, :hover
, :active
) but you probably never thought about what :link
strictly means.
Apparently, the :link
pseudo-class can select elements for styling that function as a link…