1 Star 0 Fork 0

关中刀客在青岛 / css_css3Basics

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 5.49 KB
一键复制 编辑 原始数据 按行查看 历史
关中刀客在青岛 提交于 2018-01-27 21:01 . 首次提交
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<title>css3学习笔记目录</title>
<link rel="stylesheet" href="common.css">
<script src="jquery-2.2.0.js"></script>
<style>
h2{
counter-increment: mycounter;
counter-reset: mysubcounter;
margin: 2px;
padding-left: 10px;
font-weight:normal;
text-shadow: 1px 1px 1px darkgray;
background-color: #92e6a9;
}
h2:before{
content: "—第"counter(mycounter)"章 ";
font-weight: bold;
/*font-size: 1.8em;*/
}
h2:after{
content: "—";
font-weight: bold;
}
section a{
counter-increment: mysubcounter;
display: block;
padding-left: 10px;
margin: 2px 2em;
/*font-family: 华文宋体, 宋体, serif;*/
font-size: 1.2em;
/*font-weight: bold;*/
text-decoration: none;
text-shadow: 1px 1px 1px darkgray;
color: #111;
background-color: #a8e2f6;
}
section a:before{
/*font-size: 1.3em;*/
content: "☞ 第"counter(mysubcounter)"节 ";
font-weight: bold;
}
section a:after{
content: "";
font-weight: bold;
}
section a:visited{
text-shadow:1px 1px 1px gray;
color: #666;
}
section a:hover{
text-decoration:underline;
}
a:active {test:expression(target="_blank");}
@media screen and (max-width: 640px) {
section a:before{
content: " 第"counter(mysubcounter)"节 ";
font-weight: bold;
}
h2{
font-size: 1em;
}
section a{
background-color: transparent;
text-shadow: none;
font-size: 1em;
}
}
</style>
</head>
<body>
<h1>css3学习笔记</h1>
<a class="btn btn-primary" href="../../index.html">←回主菜单</a>
<hr><br>
<h1><small>目录</small></h1>
<section>
<h2>选择器</h2>
<a href="01selector/01attrSelector.html">属性选择器</a>
<a href="01selector/02StructuralPseudoClassSelector1.html">结构性伪类选择器1</a>
<a href="01selector/03StructuralPseudoClassSelector2.html">结构性伪类选择器2</a>
<a href="01selector/04UIelementStatusPseudoClassSelector.html">UI元素状态伪类选择器</a>
<a href="01selector/05brotherElementSelector.html">兄弟选择器</a>
<h2>使用选择器在页面中插入内容</h2>
<a href="02useSelector/01insertTextAndImg.html">插入文本和图片</a>
<a href="02useSelector/02insertSerialNumber.html">插入编号</a>
<h2>文字与字体相关样式</h2>
<a href="03font/01textShadow.html">文字阴影——text-shadow</a>
<a href="03font/02wordWrap.html">文本换行——word-break</a>
<a href="03font/03serverFonts.html">使用服务端字体——Web Font</a>
<a href="03font/04clientFonts.html">显示客户端字体</a>
<a href="03font/05useRem.html">使用rem单位</a>
<h2>盒相关样式</h2>
<a href="04boxStyle/01basicBoxTypes.html">盒的基本类型</a>
<a href="04boxStyle/02overflow.html">溢出控制</a>
<a href="04boxStyle/03boxShadow.html">盒阴影</a>
<a href="04boxStyle/04calculateWidthAndHeight.html">改变元素的宽高计算方法</a>
<h2>背景和边框相关样式</h2>
<a href="05backgroundAndBorder/01backgroundAttr.html">背景的新增属性</a>
<a href="05backgroundAndBorder/02gradientBackground.html">渐变背景</a>
<a href="05backgroundAndBorder/03borderRadius.html">圆角边框的绘制</a>
<a href="05backgroundAndBorder/04borderImg.html">使用边框图像</a>
<h2>CSS3中的变形处理</h2>
<a href="06_2dAnd3d/01_2d.html">2D变形</a>
<a href="06_2dAnd3d/02_3d.html">3D变形</a>
<a href="06_2dAnd3d/03transformatioMatrix.html">变形矩阵</a>
<h2>CSS3中的动画功能</h2>
<a href="07animation/01Transitions.html">Transitions动画</a>
<a href="07animation/02animations.html">animations动画</a>
<h2>布局相关样式</h2>
<a href="08layout/01multicolumnLayout.html">多列布局</a>
<a href="08layout/02boxLayout.html">盒布局</a>
<a href="08layout/03flexBox.html">弹性盒布局1</a>
<a href="08layout/04flexBox2.html">弹性盒布局2</a>
<a href="08layout/05flexBox3.html">弹性盒布局3</a>
<a href="08layout/06flexBox4(lineAlign).html">弹性盒布局4</a>
<a href="08layout/07calc.html">calc计算方法</a>
<h2>媒体查询相关样式</h2>
<a href="09mediaQueries/01chooseDifferentStyleAccordingToWindowWidth.html">根据不同浏览器宽度选择样式</a>
<h2>CSS3其他重要样式和属性</h2>
<a href="10others/01color.html">颜色相关样式</a>
<a href="10others/02UserInterfaceStyleAndInitial.html">用户界面相关样式和initial</a>
<a href="10others/03FilterEffects.html">图像滤镜效果</a>
<h2>综合练习</h2>
<a href="11syntheticInstance/01aHomePageLayout/index.html">某网站首页</a>
<a href="11syntheticInstance/02TheOrderLayout/index.html">某订单界面</a>
</section>
<script>
$(function () {
// $("section a").attr("target","_blank");
$("a").attr("target", "_blank");
})
</script>
</body>
</html>
HTML/CSS
1
https://gitee.com/daoke0818/css_css3Basics.git
git@gitee.com:daoke0818/css_css3Basics.git
daoke0818
css_css3Basics
css_css3Basics
master

搜索帮助