<!doctype html> | |
<meta charset="utf-8"> | |
<title>content: gradient</title> | |
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> | |
<link rel="author" title="Mozilla" href="https://mozilla.org"> | |
<link rel="match" href="element-replacement-gradient-ref.html" /> | |
<link rel="help" href="https://drafts.csswg.org/css-content-3/#content-property" /> | |
<style> | |
div { | |
width: 100px; | |
height: 100px; | |
content: linear-gradient(purple, yellow); | |
} | |
</style> | |
<div></div> |