-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathborder-radius-colors-gradient.html
More file actions
79 lines (51 loc) · 1.43 KB
/
border-radius-colors-gradient.html
File metadata and controls
79 lines (51 loc) · 1.43 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="pt-br">
<head>
<title>Border Radius, Colors e Gradient</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/style-border-radius-colors-gradient.css">
</head>
<body>
<div id="bloco1">
<p>border-radius: 20px;</p>
</div><br>
<div id="bloco2">
<p>border-radius: 20px 50px;</p>
</div><br>
<div id="bloco3">
<p>border-radius: 20px 50px 100px;</p>
</div><br>
<div id="bloco4">
<p>border-radius: 20px 50px 100px 200px;</p>
</div><br>
<div id="bloco5">
<p>
border-top-left-radius: 20px; <br>
border-top-right-radius: 10px; <br>
border-bottom-right-radius: 50px; <br>
border-bottom-left-radius: 35px; <br>
</p>
</div><br>
<div id="gradiente1">
<p>background: linear-gradient(red, green);</p>
</div><br>
<div id="gradiente2">
<p>Da esquerda p/ direita:<br>background: linear-gradient(to right, green, blue);</p>
</div><br>
<div id="gradiente3">
<p>Da cima p/ baixo e 3 cores:<br>background: linear-gradient(to top, green, red, blue);</p>
</div><br>
<div id="gradiente4">
<p>Diagonal para cima e esquerda:<br>background: linear-gradient(to top left, red, green)</p>
</div><br>
<div id="gradiente5">
<p>Usando ângulos:<br>background: linear-gradient(50deg, orange, blue, red);</p>
</div><br>
<div id="gradiente6">
<p>Usando RGB/RGBA:<br>background: linear-gradient(rgba(255,0,0,0.8), red, blue);</p>
</div><br>
<div id="gradiente7">
<p>Gradiente radial:<br></p>
</div><br>
<body>
</html>