Snippets Collections
<!DOCTYPE html>
<html>
<head>
<style>
p::before { 
  content: "Read this -";
  background-color: yellow;
  color: red;
  font-weight: bold;
}
</style>
</head>
<body>
​
<p>My name is Donald</p>
<p>I live in Ducksburg</p>
​
</body>
</html>
​
star

Sat Oct 24 2020 21:21:10 GMT+0000 (Coordinated Universal Time) https://www.w3schools.com/cssref/tryit.asp?filename

#css #before

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension