Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/filter-effects/filter-function/filter-function-conic-gradient.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<title>filter() function with conic-gradient</title>
<link rel="match" href="filter-function-conic-gradient-ref.html">
<style>
div {
background-image: filter(conic-gradient(red, orange), invert(1));
width: 400px;
height: 400px;
color: purple;
}
</style>
<div>This text should be purple on a background with a light blue gradient.</div>
</html>