HTML CSS examples for CSS Widget:Header
Frost blur header
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body, html { margin: 0; padding: 0; } #header {<!-- w w w. ja va2 s.c o m--> width: 100%; height: 200px; background-image: url(https://www.java2s.com/style/demo/Opera.png); background-position: left bottom; } #gloss { position: absolute; top: 100px; height: 100px; width: 100%; } #gloss::before { display: block; width: 100%; height: 100px; background-image: url(https://www.java2s.com/style/demo/Opera.png); background-position: left bottom; -webkit-filter: blur(20px); content: ' '; } </style> </head> <body> <div id="header"> <div id="gloss"></div> </div> </body> </html>