随笔分类 -  CSS

摘要:先来看看样子。 html源码: css代码: 阅读全文
posted @ 2017-03-29 19:08 UniqueColor 阅读(7067) 评论(0) 推荐(1) 编辑
摘要:本篇博客实现一个HTML与CSS简单页面效果实例 index.html css代码: 效果: 阅读全文
posted @ 2016-08-11 11:27 UniqueColor 阅读(713) 评论(0) 推荐(0) 编辑
摘要:本篇内容实现类似百度图片的呈现功能,瀑布流+自动加载 index13.html css代码: js代码 阅读全文
posted @ 2016-08-10 22:00 UniqueColor 阅读(216) 评论(0) 推荐(0) 编辑
摘要:index.html css: 效果: 阅读全文
posted @ 2016-08-10 14:58 UniqueColor 阅读(197) 评论(0) 推荐(0) 编辑
摘要:1、垂直导航栏 index.html css: 效果: 2、水平导航栏 css代码: 阅读全文
posted @ 2016-08-10 14:42 UniqueColor 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-08-10 14:24 UniqueColor 阅读(125) 评论(0) 推荐(0) 编辑
摘要:index.html 利用margin属性 css: 利用position属性 css: 利用float属性 css 阅读全文
posted @ 2016-08-10 14:14 UniqueColor 阅读(296) 评论(0) 推荐(0) 编辑
摘要:1、盒子模型概述: 2、内边距: 代码演示: index.html css: 实现的效果: 3、边框 示例: index.html: css: 效果: 4、外边距 简单示例: 结合外边距、内边距、边框: css: 效果: 5、外边距合并 6、盒子模型应用 绘制一个网站框架: index.html代码 阅读全文
posted @ 2016-08-09 10:58 UniqueColor 阅读(239) 评论(0) 推荐(0) 编辑
摘要:首先是index.html文件: css: 实现的效果如下: 2、瀑布流效果的实现: index.html css: 实现的效果: 阅读全文
posted @ 2016-08-08 15:47 UniqueColor 阅读(836) 评论(0) 推荐(0) 编辑
摘要:在CSS中一共有N种定位方式,其中,static ,relative,absolute三种方式是最基本最常用的三种定位方式。他们的基 本介绍如下。 static默认定位方式 relative相对定位,相对于原来的位置,但是原来的位置仍然保留 absolute定位,相对于最近的非标准刘定位,原来的位置 阅读全文
posted @ 2016-08-08 15:05 UniqueColor 阅读(318) 评论(0) 推荐(0) 编辑
摘要:css code: 阅读全文
posted @ 2016-08-08 14:32 UniqueColor 阅读(152) 评论(0) 推荐(0) 编辑
摘要:1、表格的初步优化 index.html MyCss6.css 效果: 2、表格的进一步优化: index.html css: 效果: 阅读全文
posted @ 2016-08-08 14:21 UniqueColor 阅读(742) 评论(0) 推荐(0) 编辑
摘要:css code: 阅读全文
posted @ 2016-08-08 13:59 UniqueColor 阅读(253) 评论(0) 推荐(0) 编辑
摘要:css code: 2、 css code: 阅读全文
posted @ 2016-08-08 13:50 UniqueColor 阅读(177) 评论(0) 推荐(0) 编辑
摘要:有关字体的简单设置。 阅读全文
posted @ 2016-08-08 13:32 UniqueColor 阅读(151) 评论(0) 推荐(0) 编辑
摘要:1、 2、缩进: index.html 没有缩进的效果: 加上css样式: 效果: 效果: 3、大小写: css: 效果: 4、设置阴影效果: 效果: 5、测试自动换行: 原来效果: 加入css: 效果: 阅读全文
posted @ 2016-08-08 12:13 UniqueColor 阅读(302) 评论(0) 推荐(0) 编辑
摘要:index.html css 效果: 2、设置图片背景 css代码:设置body的背景图片 设置单个标签的背景图片 设置图片是否重复和起始位置: 设置图片是否随着内容滚动 CSS3背景: 设置图片的大小 阅读全文
posted @ 2016-08-08 11:09 UniqueColor 阅读(250) 评论(0) 推荐(0) 编辑
摘要:id选择器: index.html: MyCss.css 类选择器: 属性选择器: 阅读全文
posted @ 2016-08-08 10:35 UniqueColor 阅读(227) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示