美文网首页
CSS选择器

CSS选择器

作者: 何苦_python_java | 来源:发表于2017-11-08 10:02 被阅读0次

提交radio

重置reset

复选框checkbox

选择状态checked="checked"

前景color:    绿色green;     背景border:     实线solid 1px #000;    

整体颜色background-color:red;  

内边距padding:   全局选择器*{}          /所有元素变色元素选择器p{}           /定义的标签变色ID选择器#a{}         /嵌入标签中id="a" 类选择器 .c{}             /嵌入标签中class="c" 背景图 background-image:url(xx.jpg)

高width:120px;          宽height:120px;      字体 font-family:"xxx",""x"";      字体粗细 font-weight:400;对齐       text-align: 左left   居中center    右right   两端对齐    justify按照          

爱和很的送序(lv -- ha)   a:link{} a:visited{} a:hoxer{ 鼠标经过显示颜色 }

a:active{}a:link{ text-decoration: none; color:#555; } 

a:visited{ text-decoration: none; color:#555; }

a:hover{ text-decoration: none; color:#f00; }

a:active{ text-decoration: none; color:#555; }

a.footer:link{ text-decoration: none; color:#fff; }

a.footer:visited{ text-decoration: none; color:#555;}

a.footer:hover{ text-decoration: none; color:#f00; }

a.footer:active{ text-decoration: none; color:#555;

通过.footer连接到要变色的a标签上class=".footer"a:link {color: #FF0000}

a:visited {color: #00FF00}

a:hover {color: #FF00FF}

a:active {color: #0000FF}

相关文章

  • CSS选择器

    CSS 元素选择器CSS 选择器分组CSS 类选择器详解CSS ID 选择器详解CSS 属性选择器详解CSS 后代...

  • CSS选择器

    目录: CSS派生选择器 CSS元素选择器 CSS Id 和 Class选择器 CSS 属性选择器 CSS 派生选...

  • css选择器

    css选择器】 1.css属性选择器 2.css伪类选择器 3.css层次选择器

  • CSS 选择器

    CSS 选择器 CSS 基本选择器及其扩展 CSS 基本选择器 通配符选择器 * 元素选择器 使用标签的名称...

  • Sublime 学习web的css

    html + css + js css引用 css外部样式 css优先级 css的选择器 标签选择器 类选择器 i...

  • CSS选择器

    CSS选择器的作用 CSS 选择器用于定位我们想要给予样式的 HTML 元素。 CSS选择器的类型 CSS选择器大...

  • JQuery CSS选择器

    CSS普通选择器 选择器函数 CSS伪类选择器

  • CSS-选择器1-概述

    CSS选择器-系列文章 CSS选择器-系列文章下一节 CSS选择器2-类选择器CSS3参考手册

  • CSS选择器、优先级以及!important知识总结

    一、CSS选择器 关于CSS选择器,首先请看这里:CSS 选择器参考手册 通过以上,我们可以将CSS选择器分为以下...

  • CSS

    CSS规则 at 规则 CSS选择器 CSS选择器 继承与层叠 继承与层叠 CSS 属性 CSS 属性 CSS值 ...

网友评论

      本文标题:CSS选择器

      本文链接:https://www.haomeiwen.com/subject/gnremxtx.html