- <style type="text/CSS">
- .appstorebutton {
- height: 80px;
- width: 80px;
- margin: 30px;
- position: relative;
- overflow: hidden;
- float: left;
- -webkit-border-radius: 40px;
- -moz-border-radius: 40px;
- border-radius: 40px;
- -webkit-transition: width 1s ease;
- -moz-transition: width 1s ease;
- -o-transition: width 1s ease;
- -ms-transition: width 1s ease;
- transition: width 1s ease;
- }
- .appstorebutton:hover {
- width: 260px;
- }
- .appstorebutton a {
- color: white;
- text-decoration: none;
- }
- .appstorebutton p {
- width: 200px;
- font: 30px/1 Helvetica, Arial, sens-serif;
- text-align: center;
- color: white;
- margin: 17px 0px 10px 60px;
- }
- .appstorebutton p small {
- font-size: 15px;
- }
- .iphone {
- background: #105CB6;
- }
- .iphone p:before {
- content: "O";
- position: absolute;
- font: 70px/1 'ModernPictogramsNormal', Helvetica, sans-serif;
- top: 8px;
- left: 13px;
- }
- </style>
- //该片段来自于http://www.codesnippet.cn/detail/090420132762.html
来源: http://www.codesnippet.cn/detail/090420132762.html