<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>用CSS3实现的addidas阿迪达斯标志LOGO特效 demo by js.alixixi.com</title>
<style>
#adidas .canvas {
background: #017ac3;
}
#adidas .icon {
left: 230px;
position: absolute;
top: 10px;
}
#adidas .leaf-t1,
#adidas .leaf-t2 {
background: #fff;
border-radius:204px/280px;
clip:rect(18px 43px 255px 0px);
height: 280px;
position: absolute;
top:-36px;
width:194px;
}
#adidas .leaf-t2 {
left:-109px;
position: absolute;
-o-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-webkit-transform:rotate(180deg);
transform:rotate(180deg);
}
#adidas .leaf1 .leaf-t1,
#adidas .leaf1 .leaf-t2 {
height:250px;
}
#adidas .leaf2 .leaf-t1,
#adidas .leaf2 .leaf-t2,
#adidas .leaf3 .leaf-t1,
#adidas .leaf3 .leaf-t2 {
clip:rect(20px 38px 220px 0px );
height:240px;
}
#adidas .leaf1 {
position: absolute;
top:50px;
}
#adidas .leaf2 {
left:-130px;
position: absolute;
top: 131px;
-o-transform:rotate(-40deg);
-moz-transform:rotate(-40deg);
-ms-transform:rotate(-40deg);
-webkit-transform:rotate(-40deg);
transform:rotate(-40deg);
}
#adidas .leaf2 .leaf-t1,
#adidas .leaf2 .leaf-t2 {
border-radius:200px/287px;
width:200px;
}
#adidas .leaf2 .leaf-t1 {
left:5px;
}
#adidas .leaf2 .leaf-t2 {
left:-120px;
}
#adidas .leaf3 {
left:151px;
position: absolute;
top:77px;
-o-transform:rotate(40deg);
-moz-transform:rotate(40deg);
-ms-transform:rotate(40deg);
-webkit-transform:rotate(40deg);
transform:rotate(40deg);
}
#adidas .leaf3 .leaf-t1,
#adidas .leaf3 .leaf-t2 {
border-radius:200px/287px;
width:200px;
}
#adidas .leaf3 .leaf-t1 {
left:4px;
}
#adidas .leaf3 .leaf-t2 {
left:-121px;
}
#adidas .stripes {
height: 50px;
left:-19px;
position: absolute;
top:160px;
width: 110px;
z-index:10;
}
#adidas .stripe {
background: #017ac3;
height: 12px;
left: -98px;
margin-bottom:12px;
position: relative;
top:0px;
width:320px;
}
#adidas .header h2 {
text-indent: -57px;
}
/* general styles */
.canvas {
display: block;
overflow: hidden;
position: relative;
top: 0px;
text-indent:-9999px;
z-index: 10;
}
.icon, .icon * {
display: block;
position: absolute;
}
.monitor,
.monitor .canvas {
height: 304px;
width:540px;
}
.monitor {
background: #000;
border:30px solid #000;
border-radius:20px;
float:left;
position:relative;
}
.monitor:before { /* shadow */
box-shadow: 0 360px 10px rgba(0,0,0,0.2);
border-radius:50%;
content: "#";
display: block;
height: 20px;
left: 30px;
position: absolute;
text-indent: -9999px;
width: 540px;
}
.monitor:after { /* shine */
background: -webkit-linear-gradient(top left, rgba(255,255,255,0) 60%, rgba(255,255,255,0.2) 60%, rgba(255,255,255,0) 100%);
border-radius:20px 20px 0 0;
height: 364px;
content: "#";
display: block;
position: absolute;
right: -30px;
text-indent: -9999px;
top:-30px;
width:600px;
z-index: 10;
}
footer {
font:14px/1.3 'Microsoft YaHei';
margin-top:150px;
color: #000;
font-size: 15px;
line-height: 1.6;
padding: 60px 20px 0;
text-align: center;
display: block;
}
footer a{
color:#000;
text-decoration:none;
}
footer a:hover{
text-decoration:underline;
}
</style>
</head>
<body>
<div id="adidas">
<div class="monitor">
<div class="canvas">
<div class="icon">
<div class="leaf1">
<div class="leaf-t1"></div>
<div class="leaf-t2"></div>
</div>
<div class="leaf2">
<div class="leaf-t1"></div>
<div class="leaf-t2"></div>
</div>
<div class="leaf3">
<div class="leaf-t1"></div>
<div class="leaf-t2"></div>
</div>
<div class="stripes">
<div class="stripe"></div>
<div class="stripe"></div>
<div class="stripe"></div>
</div>
</div>
</div>
</div>
</div>
<footer>Tutorial by <a href="http://js.alixixi.com" target="_blank">网页特效 阿里西西</a></footer> </body>
</html>

用CSS3实现的addidas阿迪达斯标志LOGO的更多相关文章

  1. 举重若轻流水行云,前端纯CSS3实现质感非凡的图片Logo鼠标悬停(hover)光泽一闪而过的光影特效

    原文转载自「刘悦的技术博客」https://v3u.cn/a_id_197 喜欢看电影的朋友肯定会注意到一个有趣的细节,就是电影出品方一定会在片头的Logo环节做一个小特效:暗影流动之间光泽一闪而过, ...

  2. 一些纯css3写的公司logo

      随着对css3了解得越深入,越来越发现了css3的强大.css3不但能完成一些基本的特效如圆角阴影等,还能借助动画技术实现一些复杂的动画,能替代很多以前js才能完成的工作,css3的作用还不止于此 ...

  3. HTML+CSS编写规范

    在任何一个项目或者系统开发之前都需要定制一个开发约定和规则,这样有利于项目的整体风格统一.代码维护和扩展.由于Web项目开发的分散性.独立性.整合的交互性等,所以定制一套完整的约定和规则显得尤为重要. ...

  4. 人人网FED CSS编码前端开发规范

    文件相关规范 1.文件名必须由小写字母.数字.中划线-组成 2.文件必须用utf-8编码 3.文件引入可通过外联或内联方式引入: 3.1 外联方式:<link rel=”stylesheet” ...

  5. HTML编码规范 - (WEB前端命名规范)

    HTML编码规范 (一)命名规则: 头:header 内容:content/container 尾:footer 导航:nav 侧栏:sidebar 栏目:column 页面外围控制整体布局宽度:wr ...

  6. HTML与CSS学习记录

    title: HTML与CSS学习记录 toc: true date: 2018-09-10 14:04:59 <HTML与CSS进阶教程读书笔记> HTML基础知识 HTML与XHTML ...

  7. Web 前端开发规范手册

    一.规范目的 Web 前端开发规范手册 1.1 概述 ......................................................................... ...

  8. 有利于SEO的DIV+CSS的命名规则

    搜索引擎优化(seo)有很多工作要做,其中对代码的优化是一个很关键的步骤.为了更加符合SEO的规范,下面是目前流行的CSS+DIV的命名规则: 页头:header登录条:loginBar标志:logo ...

  9. html页面的CSS、DIV命名规则

    CSS命名规则 头:header 内容:content/containe 尾:footer 导航:nav 侧栏:sidebar 栏目:column 页面外围控制整体布局宽度:wrapper 左右中:l ...

随机推荐

  1. jvm 语法糖

    jvm 语法糖主要包括:   1. 泛型 相同擦除类型参数,返回值不同也可以编译成功, 对比方法重载矛盾.     原因:class文件格式中,只要描述符不是完全一致的两个方法就可以共存.     擦 ...

  2. Training Models

    In this page, I am going to talk about the 'hello world' model that is linear regression and train i ...

  3. selenium实现文件上传方法汇总(AutoIt、win32GUI、sengkeys)---基于python

    在使用selenium进行UI自动化测试时,经常会遇到一个关于本地文件上传的问题,解决此问题一般分两种情况: 1. 元素标签为input 2.非input型上传 下面我们分别对着两种情况进行实例分析 ...

  4. lintcode-185-矩阵的之字型遍历

    185-矩阵的之字型遍历 给你一个包含 m x n 个元素的矩阵 (m 行, n 列), 求该矩阵的之字型遍历. 样例 对于如下矩阵: [ [1, 2, 3, 4], [5, 6, 7, 8], [9 ...

  5. Objective-C 反射机制

    该文章属于<简书 — 刘小壮>原创,特此感谢:<简书 — 刘小壮> http://www.jianshu.com/p/5bbde2480680 了解反射机制 Objective ...

  6. 最近面试js部分试题总结

    二,JavaScript面试题总结 1,首先是数组去重算法:给一个数组,去掉重复值 (function() { var arr = [1, 2, 3, 3, 4, ]; function unique ...

  7. Zabbix监控配置

    Zabbix在线文档 https://www.zabbix.com/documentation/4.0/zh/manual/config/hosts 1.我们启动服务后,我们看到了端口都正在监听,但是 ...

  8. arp_filter/arp_ignore/rp_filter

    下面这段代码应该是arp_ignore/arp_filter的最好的注脚;在ARP_ignore通过的情况下,我再去判断ARP_filter,这个ARP_filter其实就是为了判断,当数据包再出去的 ...

  9. 如何设计好的RESTful API之安全性

    保证RESTful API的安全性,主要包括三大方面: a) 对客户端做身份认证 b) 对敏感的数据做加密,并且防止篡改 c) 身份认证之后的授权 1.对客户端做身份认证,有几种常见的做法: 1)在请 ...

  10. BZOJ 3507 通配符匹配(贪心+hash或贪心+AC自动机)

    首先可以对n个目标串单独进行处理. 对于每个目标串,考虑把模式串按'*'进行划分为cnt段.首尾两段一定得于原串进行匹配.剩下的cnt-2段尽量与最靠左的起点进行匹配. 对于剩下的cnt-2段.每段又 ...