.canvas {
background-color: #111;
padding: 30px;
clear: both;
}
#earth {
width: 300px;
height: 300px;
background: url(http://www.noirextreme.com/digital/Earth-Color4096.jpg);
border-radius: 50%;
background-size: 610px;
box-shadow: inset 8px 36px 80px 36px rgb(0, 0, 0), inset -6px 0 12px 4px rgba(255, 255, 255, 0.3);
animation-name: rotate;
animation-duration: 12s;
animation-iteration-count: infinite;
animation-timing-function: linear;
-webkit-animation-name: rotate;
-webkit-animation-duration: 12s;
-webkit-anima
Web开发者同时开发多个站点的时候,通常需要在本地添加虚拟域名的解释。Mac下修改域名解释的文件不是Linux的/etc/hosts,而是/private/etc/hosts
下面是一个配置的例子:
127.0.0.1 site1, site2, localhost
热门内容
最新内容
- 1 day ago
- 1 month 2 weeks ago
- 1 month 2 weeks ago
- 1 month 3 weeks ago
- 1 month 4 weeks ago
- 1 month 4 weeks ago
- 1 month 4 weeks ago
- 1 month 4 weeks ago
- 1 month 4 weeks ago
- 2 months ago
最新评论