用纯css实现的html5 logo标志
一个用css实现的html5 Logo,主要用html和css技术实现,例子如下:
源代码下载地址:
css部分代码如下:
<style type="text/css">
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
blockquote:before, blockquote:after, q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
body {
line-height: 1;
color: black;
background: white;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
:focus {
outline: 0;
}
table {
border-collapse: separate;
border-spacing: 0;
}
ol, ul {
list-style: none;
}
a {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #666;
text-decoration: none;
margin: 40px auto 0;
display: block;
width: 120px;
text-align: center;
}
.html5 {
width:345px;
height:385px;
display:block;
margin:100px auto 0;
position:relative;
}
.html5 .icon .text .left {
display:block;
position:absolute;
width:182px;
height:400px;
}
.html5 .icon .text .left .left {
display:block;
position:absolute;
width:40px;
height:130px;
background:#ebebeb;
top:72px;
left:82px;
-webkit-transform:skew(5deg);
-moz-transform:skew(5deg);
}
.html5 .icon .text .left .top {
display:block;
position:absolute;
width:104px;
height:40px;
background:#ebebeb;
top:72px;
left:80px;
}
.html5 .icon .text .left .middle {
display:block;
position:absolute;
width:96px;
height:40px;
background:#ebebeb;
top:162px;
left:88px;
}
.html5 .icon .text .left .bottom {
display:block;
position:absolute;
width:85px;
height:40px;
background:#ebebeb;
top:261px;
left:102px;
-webkit-transform::rotate(12deg);
-moz-transform:rotate(12deg);
}
.html5 .icon .text .left .vert {
display:block;
position:absolute;
width:40px;
height:70px;
background:#ebebeb;
top:222px;
left:95px;
-webkit-transform:skew(5deg);
-moz-transform:skew(5deg);
}
.html5 .icon .text .right {
height:400px;
width:150px;
left:182px;
display:block;
position:absolute;
overflow:hidden;
}
.html5 .icon .text .right .top {
display:block;
position:absolute;
width:105px;
height:40px;
background:#fff;
top:72px;
left:-3px;
-webkit-transform:skew(-5deg);
-moz-transform:skew(-5deg);
}
.html5 .icon .text .right .middle {
display:block;
position:absolute;
width:80px;
height:40px;
background:#fff;
top:162px;
}
.html5 .icon .text .right .right {
display: block;
position: absolute;
width: 40px;
height: 130px;
background: #ffffff;
top: 162px;
left: 50px;
-webkit-transform: skew(-5deg);
-moz-transform: skew(-5deg);
}
.html5 .icon .text .right .bottom {
display: block;
position: absolute;
width: 85px;
height: 40px;
background: #ffffff;
top: 261px;
left: -5px;
-webkit-transform: rotate(-12deg);
-moz-transform: rotate(-12deg);
}
.html5 .icon .overlay {
height: 400px;
width: 150px;
left: 182px;
position: absolute;
display: block;
overflow: hidden;
}
.html5 .icon .overlay .top {
width: 160px;
height: 300px;
top: 28px;
left: -35px;
display: block;
background: #f0652a;
position: absolute;
-webkit-transform: skew(-5deg);
-moz-transform: skew(-5deg);
}
.html5 .icon .overlay .bottom {
position:absolute;
top:328px;
left:-180px;
display:block;
border-color:#f0652a transparent transparent;
border-style:solid;
border-width:35px 140px 0;
height:0px;
margin:0 10px;
width:0;
font-size:0;
line-height:0;
}
.html5 .icon .bg .middle {
position:absolute;
left:132px;
background:#e44c27;
width:50px;
height:355px;
display:block;
}
.html5 .icon .bg .right {
position:absolute;
left:166px;
background:#e44c27;
width:170px;
height:350px;
display:block;
-webkit-transform:skew(-5deg);
-moz-transform:skew(-5deg);
}
.html5 .icon .bg .left {
position:absolute;
left:24px;
background:#e44c27;
width:170px;
height:350px;
-webkit-transform:skew(5deg);
-moz-transform:skew(5deg);
}
.html5 .icon .bg .bottom {
position:absolute;
top:350px;
left:30px;
display:block;
border-color:#e44c27 transparent transparent;
border-style:solid;
border-width:35px 140px 0;
height:0px;
margin:0px 10px;
width:0;
font-size:0;
line-height:0;
}
</style>
html代码如下
<div class="html5">
<div class="icon">
<div class="bg">
<div class="right"></div>
<div class="left"></div>
<div class="bottom"></div>
<div class="middle"></div>
</div>
<div class="overlay">
<div class="top"></div>
<div class="bottom"></div>
</div>
<div class="text">
<div class="left">
<div class="top"></div>
<div class="left"></div>
<div class="middle"></div>
<div class="bottom"></div>
<div class="vert"></div>
</div>
<div class="right">
<div class="top"></div>
<div class="right"></div>
<div class="middle"></div>
<div class="bottom"></div>
</div>
</div>
</div>
</div>
预览效果如下:
用纯css实现的html5 logo标志相关推荐
- css做html5logo,用纯css实现的html5 logo标志
一个用css实现的html5 Logo,主要用html和css技术实现,例子如下: css部分代码如下: html, body, div, span, applet, object, iframe, ...
- html做微信logo,纯CSS实现一个微信logo,需要几个标签?_html/css_WEB-ITnose
博客已迁移至http://lwzhang.github.io. 纯CSS实现一个微信logo并不难,难的是怎样用最少的 html 标签实现.我一直在想怎样用一个标签就能实现,最后还是没想出来,就只好用 ...
- css做html5logo,用纯css实现的html5logo标志
一个用css实现的html5 Logo,主要用html和css技术实现,例子如下: 源代码下载地址: css部分代码如下: html, body, div, span, applet, object, ...
- php 3d animation,CSS_纯CSS实现菜单、导航栏的3D翻转动画效果,我曾经向大家展示过闪光的logo - phpStudy...
纯CSS实现菜单.导航栏的3D翻转动画效果 我曾经向大家展示过闪光的logo,燃烧的火狐狸,多重嵌套动画等例子,今天,我们将要制作一个简单但非常酷的3D翻转菜单.大家可以先看看实际效果,下面有效果截图 ...
- css3怎么设置logo,纯CSS3实现的LOGO标志 ABN AMRO CSS3 logo
纯CSS3实现的LOGO标志 ABN AMRO CSS3 logo demo by js.alixixi.com #abnamro .canvas { background-color: #f2f2f ...
- 79.纯 CSS 创作单元素麦当劳金拱门 Logo(自创)
79.纯 CSS 创作单元素麦当劳金拱门 Logo(自创) 效果地址:https://scrimba.com/c/cN3P6nfr 原理:两个椭圆,颜色部分为边框,下一半被伪元素覆盖. 感想:看了一眼 ...
- OneNav一为主题魔改教程(二):使用纯css增加网站Logo扫光效果--洞五洞洞幺
今日主题: 使用纯css增加网站Logo扫光效果 声明:本篇有违"魔改"这个标题:本篇只为增加收录.并且复习使用纯css给logo加上扫光效果. 效果: 可以目测 洞五洞洞幺 导航 ...
- HTML5纯css实现爱心动画效果DW、vscode来自程序员的浪漫表白
HTML5纯css实现爱心动画效果DW来自程序员的浪漫表白 一.拉面版 css部分 *{/* 初始化页面元素内外边距*/margin:0;padding: 0;}body{/* 弹性布局元素垂直水平居 ...
- Php开源h5相册系统,HTML5 CSS3专题 纯CSS打造相册效果的示例代码详解
HTML5 CSS3专题 纯CSS打造相册效果的示例代码详解: 今天偶然发现电脑里面还有这样的一个例子,感觉效果还不错,不记得啥时候下载的了,也好久没上w3cfuns了,怀念学习前台的日子,给大家分享 ...
最新文章
- Visual Studio 中文显示乱码问题
- 解决ubuntukylin 13.10安装wine时无法解决软件包依赖问题
- 文本分类入门(十)特征选择算法之开方检验
- cn_win_srv_2003_r2_standard_x64_with_sp2_cd1_X13-28810 的序号
- 如何使自己的网站与UC进行用户整合
- nginx加载html目录下图片,nginx配置访问图片路径以及html静态页面的调取方法
- nsga2算法_用遗传算法进行容量管理 让虚拟机放置策略更优
- spring boot 开源项目汇总
- 12306小卡片-鸿蒙智慧出行
- oracle中定义表类型数据,oracle 定义表字段域的数据类型
- CW3 Clarifications
- sys.stdout.write与sys.sterr.write(一)
- linux7离线安装docker19,centos7离线安装docker
- 惠普微型计算机怎么装机,详解hp如何安装系统
- 数据库实验2:数据库的建立与维护
- Python中的staticmethod和classmethod
- Mac版本Octane渲染器安装教程支持M1和英特尔全系列分享
- wangEditor 上传附件
- 【SikuliX】基于图像识别的Web自动化测试
- A Survey on Contrastive Self-Supervised Learning(对比式自监督学习研究)-----pretext tasks、Downstream task解释