-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss3-gradient-horiz.html
More file actions
29 lines (28 loc) · 1.12 KB
/
css3-gradient-horiz.html
File metadata and controls
29 lines (28 loc) · 1.12 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
<!doctype html>
<html lang=en>
<head>
<title>A horizontal CSS3 gradient applied to a box</title>
<meta charset="utf-8">
<!-- <meta details go here> -->
<meta name="google-adsense-account" content="ca-pub-9639638377144073">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-UA Compatible" content="ie=edge">
<meta name="author" content="Orris A BakerJr">
<meta name="description" content="HTML, Jquery, Javascript, Multimedia document">
<meta name="theme-color" content="#712cf9">
<meta name="keywords" content="HTML5, Node.js, Jquery">
<meta name="author" content="Ian Andolina">
<style type="text/css">
#gradient-box {margin:auto; text-align:center; font-size:x-large; color:white;
border:1px black solid;
width:400px; height:500px;
background: -moz-linear-gradient(100% 100% 180deg, white, green);
background: -webkit-gradient(linear, left top, right top, from(green), to(white));
}
</style>
</head>
<body>
<div id="gradient-box">
A CSS3 gradient applied to a box</div>
</body>
</html>