CSS Filters

Developer
Size
1,942 Kb
Views
14,168

How do I make an css filters?

Just testing out webkit filters with some animation.. What is a css filters? How do you make a css filters? This script and codes were developed by Patrick on 21 November 2022, Monday.

CSS Filters Previews

CSS Filters - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Filters</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <img src="http://farm4.staticflickr.com/3162/3069561646_93c3570286_o.jpg" alt="image">
</div> <script src="js/index.js"></script>
</body>
</html>

CSS Filters - Script Codes CSS Codes

body { background: #666; }
img { width: 100%; }
@-webkit-keyframes pulse {	0% { -webkit-filter: contrast(500%) grayscale(0%); } 100% { -webkit-filter: contrast(100%) grayscale(100%); }	}
@-webkit-keyframes mover	{ 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); }	}
.container	{ width: 700px; margin: 20px auto; border: 5px solid #fff; box-shadow: rgba(0,0,0,.75) 0 1px 7px;	/* -webkit-filter: */	/* contrast(200%) */	/* brightness(25%) */	/* invert(100%) */	/* hue-rotate(110deg) */	/* grayscale(100%) */	/* sepia(100%) */	/* blur(10px); */	/* -webkit-transition: -webkit-filter 1s; */	-webkit-animation: pulse 1s alternate infinite /*mover 5s alternate infinite*/;	}	.container:hover	{ -webkit-filter: contrast(300%) hue-rotate(80deg) grayscale(100%) /* blur(2px) */; }

CSS Filters - Script Codes JS Codes

// head like a hole!
CSS Filters - Script Codes
CSS Filters - Script Codes
Home Page Home
Developer Patrick
Username hinducows
Uploaded November 21, 2022
Rating 3
Size 1,942 Kb
Views 14,168
Do you need developer help for CSS Filters?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Patrick (hinducows) Script Codes
Create amazing captions with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!