提交 35312656 编写于 作者: A alteredq

Nicer background in CSS3D molecules example.

上级 3c82e6af
...@@ -10,7 +10,17 @@ ...@@ -10,7 +10,17 @@
} }
body { body {
background-color: #000000; background-color: #050505;
background: rgb(43,45,48); /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, rgba(43,45,48,1) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(43,45,48,1)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover, rgba(43,45,48,1) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover, rgba(43,45,48,1) 0%,rgba(0,0,0,1) 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover, rgba(43,45,48,1) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
background: radial-gradient(ellipse at center, rgba(43,45,48,1) 0%,rgba(0,0,0,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b2d30', endColorstr='#000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
margin: 0; margin: 0;
font-family: Arial; font-family: Arial;
overflow: hidden; overflow: hidden;
...@@ -59,7 +69,7 @@ ...@@ -59,7 +69,7 @@
.bond { .bond {
width: 5px; width: 5px;
height: 10px; height: 10px;
background: #ffffff; background: #eee;
display: block; display: block;
} }
</style> </style>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册