每一步的编写过程都在代码里面书写了,暂且记录下来

 <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" content="This is a meta data" name="dengyexun">
<title>Title</title>
<link rel="stylesheet" type="text/css" href="home.html">
<style>
body { }
a:link{
color: burlywood;
text-decoration: none;
}
a:visited{
color: #FF0000;
text-decoration: none;
}
a:hover{
color: blueviolet;
text-decoration: underline;
}
a:active{
color: darkmagenta;
}
p.fix_pos {
font-family: SansSerif, 'Times New Roman';
font-size: 30px;
font-style: italic;
font-weight: bold;
position: fixed;
top: 300px;
right: 10px;
}
{# h1 {#}
{# color: cornflowerblue;#}
{# text-align: center;#}
{# }#}
#hcolor {
color: aquamarine;
letter-spacing: 2px;
text-align: center;
text-shadow: 2px 2px #FF0000;
}
a {
display: block;
width: 80px;
background-color: #98bf21;
}
#getIn {
height: 20px;
width: 100px;
background-color: burlywood;
}
ul.animal{
list-style-type: square;
}
ul.trans{
list-style-type: circle;
}
#info{
font-family: SansSerif;
width: 40%;
border-collapse: collapse;
}
#info td, #info th{
font-size: 1em;
border: 1px solid #98bf21;
padding: 3px 7px 2px 7px;
}
#info th{
font-size: 1.1em;
text-align: left;
padding-top: 5px;
padding-bottom:4px;
background-color: #a7c942;
color: #ffffff;
}
#info tr.alt td{
color: #000000;
background-color: #eaf2d3;
} div.ex{
width: 220px;
padding: 10px;
border-top-style: groove;
border-right-style: solid;
border-bottom-style: groove;
border-left-style: solid;
margin: 5px;
outline: dotted green;
}
h2.left_pos{
position: absolute;
top: 50px;
left: 20px;
}
h2.right_pos{
position: relative;
right: 20px;
}
#clip_pic{
position: absolute;
clip: rect(30px,200px,200px,20px);
}
div.scroll{
background-color: gray;
width: 100px;
height: 180px;
overflow: scroll;
}
div.container{
width: 100%;
border: 1px solid gray;
margin:0px;
line-height: 150%;
}
div.header , div.footer {
padding: 0.5em;
background-color: gray;
clear: left;
color: white;
}
h1.header{
padding: 0px;
margin: 0px;
}
div.left{
float: left;
width: 180px;
margin: 1px;
padding: 1em;
}
div.content{
margin-left: 190px;
border-left: 1px solid gray;
padding: 1em;
}
div.auto_center{
margin-left: auto;
margin-right: auto;
width: 70%;
}
div.left {
position: absolute;
left: 8px;
width: 100px;
}
a.wei:visited {
color: #98bf21;
}
p:first-line{
color: #98bf21;
font-family: SansSerif;
}
p:first-letter{
color: black;
font-size: x-large;
}
h1:before{
content: url("/static/img/dyx.png");
}
h1:after{
content:url("/static/img/dyx.png");
}
ul{
list-style-type: none;
margin: 10px;
padding: 0px;
}
</style>
</head>
<body> <input id="getIn" type="text" name="one"/>
<p class="fix_pos">This is a fixed position</p>
<script>
document.write('hello!')
</script>
<br>
<br>
<br>
<br>
<br>
<br>
<h2 class="left_pos">This is a relative position</h2>
<h2 class="right_pos">This is a relative position</h2>
<h2>This is a relative position</h2> <ul class="animal">
<li>cat</li>
<li>dog</li>
<li>pig</li>
</ul>
<ul class="trans">
<li>bike</li>
<li>car</li>
<li>plane</li>
</ul>
<table>
<tr>
<th>list_01</th>
<th>list_02</th>
<th>list_03</th>
</tr>
<tr>
<td>dog</td>
<td>cat</td>
<td>bird</td>
</tr>
<tr>
<td>flower</td>
<td>green</td>
<td>blue</td>
</tr>
</table>
<br> <table id="info">
<tr>
<th>name</th>
<th>age</th>
<th>sex</th>
</tr>
<tr class="alt">
<td>Brown</td>
<td>23</td>
<td>male</td>
</tr>
<tr>
<td>Alice</td>
<td>18</td>
<td>female</td>
</tr>
<tr class="alt">
<td>Bob</td>
<td>33</td>
<td>male</td>
</tr>
<tr>
<td>Tom</td>
<td>17</td>
<td>male</td>
</tr>
<tr class="alt">
<td>Jerry</td>
<td>18</td>
<td>female</td>
</tr>
<tr>
<td>King</td>
<td>5</td>
<td>male</td>
</tr>
</table> <div class="ex">
This is a temp
I like you
I would like to give you some colors see see!
</div> {# <img id="true_pic" src="/static/img/dyx.png" width="300" height="350" alt="this is a picture">#}
{# <img id="clip_pic" src="/static/img/dyx.png" width="300" height="300">#} <div class="scroll">
键盘上有3个指示灯,左边两个对应于常用的Num lock和Caps Lock键,想必大家都熟悉,下面为大家介绍对应最右边指示灯的Scroll Lock键:
Scroll Lock键最早出现在IBM的PC/XT机型的83键盘和AT接口的84键盘上,这个键不仅仅出现在PC机的101键盘上,连苹果机的“增强”型键盘上也加上了该按键。该键在DOS时期用处很大,由于当时显示技术,限制了屏幕只能显示宽25行、长80个字符的文字,在阅读文档时,使用该键能非常方便地翻滚页面。
</div> <span style="cursor: text">
text
</span>
<span style="cursor: alias">
alias
</span>
<span style="cursor: crosshair">
crosshair
</span>
<span style="cursor: inherit">
inherit
</span> <br>
<br>
<br>
<div class="container">
<div class="header"><h1 class="header">I am very sad yesterday and today!Because I lost my IDcard</h1> </div>
<div class="left">Don't be afraid! I can got it! you must love the life</div>
<div class="content">国家科技部国际合作科技项目评审专家;国家科技部人才留学评审专家;
国际国内学术期刊Neurocomputing, IEEE 会刊,中国科学E辑、自然科学进展、电子学报、软件学报、自动化学报等评审专家</div>
<div class="footer">Copyright 2017 by deng</div> </div> <br>
<div class="auto_center">
国家科技部国际合作科技项目评审专家国家科技部国际合作科技项目评审专家国家科技部国际合作科技项目评审专家
</div>
<br>
<br>
<a class="wei" href="show.html">点击</a>
<p>国家科技部国际合作科技项目评审专家国家科技部国际合作科技项目<br>
评审专家国家科技部国际合作科技项目评审专家评审专家国家科技部国际合作科技项目评审专家</p>
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="home.html">News</a></li>
<li><a href="home.html">Contact</a></li>
<li><a href="home.html">About</a></li>
</ul> </body>
</html>

11.23CSS笔记的更多相关文章

  1. C++11 学习笔记 std::function和bind绑定器

    C++11 学习笔记 std::function和bind绑定器 一.std::function C++中的可调用对象虽然具有比较统一操作形式(除了类成员指针之外,都是后面加括号进行调用),但定义方法 ...

  2. C++11/14笔记

    目录 语言层面 模板表达式中的空格 nullptr和std::nullptr_t 自动推导类型----auto 一致性初始化----Uniform Initialization 初始化列表(initi ...

  3. 11/6笔记 补充(Redis持久化,RDB&&AOF)

    11/6补充笔记 修改redis-6379.conf里面的save10秒2个数据发生改变 (save 10 2) 修改一次数据不发生改变,修改2次数据才发生改变 继续修改数据,发现还是一样的规律 增删 ...

  4. iOS 阶段学习第11天笔记(OC基础知识)

    iOS学习(OC语言)知识点整理 一.OC基础知识 1)#import  用于导入头文件,预处理阶段加载引用,只加载一次. 2)OC 依赖于Foundation框架下的头文件Foundation.h, ...

  5. C++11学习笔记

    C++11 1.long long新类型 2.列表初始化 int t=0; int t={0}; int t(0); int t{0}; 注意:如果我们使用列表初始化有丢失信息的风险,则编译器报错 l ...

  6. linux0.11学习笔记(1)

    公布软件包包括内容: bootimage.Z - 具有美国键盘代码的压缩启动映像文件: rootimage.Z - 以1200kB 压缩的根文件系统映像文件: linux-0.11.tar.Z- 内核 ...

  7. lesson - 11 课程笔记

    一.sed  作用: sed 是一种流编辑器,它是文本处理中非常重要的工具, 能够完美的配合正则表达式使用.处理时,把当前处理的行存储在临时缓冲区中, 称为“模式空间(pattern space)”, ...

  8. C++11学习笔记(5) —— override and final (转)

    原文转自 http://blog.csdn.net/fire_lord/article/details/8540592 1.简介 C++为我们提供了继承和虚函数的重写特性. 在派生类中,重写虚函数不强 ...

  9. 802.11学习笔记1-WIFI参数含义

    研究下wifi参数的含义 #The word of "Default" must not be removed Default CountryRegion= CountryRegi ...

随机推荐

  1. js循环异常

    1.当在循环数组时,数组发生变化,循环item 为定义undifined $.each(blogMng.commonKit.upLoadMng.medias, function (index, ite ...

  2. sql server 存储过程基础知识

    转自家园大哥博文http://www.cnblogs.com/jiajiayuan/archive/2011/06/15/2081201.html 什么是存储过程呢?存储过程就是作为可执行对象存放在数 ...

  3. SpringMVC------maven编译报错:Dynamic Web Module 3.0 requires Java 1.6 or newer

    如图所示: 但是 Eclipse 明明已经将编译级别设置为 1.7: 这是由于你的 Maven 编译级别是 jdk1.5 或以下,而你导入了 jdk1.6 以上的依赖包:查看 Eclipse 的 Na ...

  4. Centos6.3 下使用 Tomcat-6.0.43 非root用户 部署 生产环境 端口转发方式

    一.安装JDK环境 方法一. 官方下载链接 http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260 ...

  5. backbone学习笔记:集合(Collection)

    集合(Collection)是一个Backbone对象,用来组织和管理多个模型,它不仅仅是一个javascript数组,还提供了专门的方法来对集合进行排序.过滤和遍历,集合可以方便的与REST服务器进 ...

  6. OpenGL资料

    苹果官方文档:OpenGL ES for iOS苹果官方文档:OpenGL for OS X OpenGL是源自SGI IRIS GL library,并不是SUN开发的.SGI提供了一个OPENGL ...

  7. SpringBoot Cmd运行Jar文件指定active文件的命令如下

    SpringBoot Cmd运行Jar文件指定active文件的命令如下 SpringBoot 命令行指定配置文件运行 ================================ ©Copyri ...

  8. 给sharepoint某列表项单独赋予权限

    /// <summary> /// 列表项事件 /// </summary> public class EventReceiver2 : SPItemEventReceiver ...

  9. Python 网络爬虫

    爬虫介绍 爬取图片 爬取文本 爬虫相关模块:re 爬虫相关模块:urllib 爬虫相关模块:urllib2 爬虫相关模块:cookielib 爬虫相关模块:requests 爬取需要登录的页面

  10. vue回到顶部的事件

    其实只需要一句代码就好了: document.documentElement.scrollTop = document.body.scrollTop = ;