-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfiltros.html
42 lines (42 loc) · 840 Bytes
/
filtros.html
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
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Propiedades en CSS - Filtros</title>
<style>
.contenedor{
width: 500px;
margin: auto;
}
.contenedor img{
width: 100%;
}
#foto{
filter: blur(2px);
}
#firefox{
/*box-shadow: #848181 2px 2px ;*/
filter: drop-shadow(15px 5px 5px #1813F0);
}
</style>
</head>
<body>
<div class="contenedor">
<img src="IMG/sunset.jpg" alt="">
<img id="foto" src="IMG/sunset.jpg" alt="">
</div>
<img src="IMG/Firefox_logo,_2017.svg.png" alt="" id="firefox" width="350px">
</body>
</html>
<!--
blur(2px); 0-10
grayscale(.8); 0-1
sepia(1); 0-1
brightness(10); 0-10
contrast(5); 0-10
hue-rotate(90deg); 1deg -360deg
invert(0.8); 0-1
saturate(7); 0-10
opacity(.5); 0-1
-->