-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path23_CssFilters.html
More file actions
36 lines (30 loc) · 1.02 KB
/
23_CssFilters.html
File metadata and controls
36 lines (30 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>filter</title>
<style>
.img1{
filter:blur(0px) ;
/* adds blur */
}
.img2{
/* filter: brightness(100%) contrast(200%); */
/* filter: grayscale(70%); */
/* make image black and white */
/* filter: sepia(80%); */
/* make it yellowish */
/* filter: invert(30%); */
/* converts into old negative images */
/* filter: opacity(50%); */
}
</style>
</head>
<body>
<div class="container">
<img class="img1" src="https://wallpaper.forfun.com/fetch/8b/8bb48c4658c1a1c75335af1266a4f5f9.jpeg" width="500px" alt="">
<img class="img2" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSE5_fhgs_IZExj92k7fpmWwg3DAsEDlcAeaxKf7HiH6mg7OhJL" alt="">
</div>
</body>
</html>