Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Градиент</title>
- <style type="text/css">
- #gradient {
- /* резервный цвет */
- background-color: #66cccc;
- /* резервное изображение */
- background-image: url("images/fallback-image.png");
- /* Firefox 3.6+ */
- background-image: -moz-linear-gradient(#336666, #66cccc);
- /* Safari 4+, Chrome 1+ */
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#66cccc), to(#336666));
- /* Safari 5.1+, Chrome 10+ */
- background-image: -webkit-linear-gradient(#336666, #66cccc);
- /* Opera 11.10+ */
- background-image: -o-linear-gradient(#336666, #66cccc);
- height: 150px;
- width: 300px;}
- </style>
- </head>
- <body>
- <div id="gradient">
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement