摘要:
正常效果当鼠标放到图片上时效果。 body部分 <div> 阅读全文
摘要:
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style> form { width: 1000px ; height: 600px; background-image: url("22.j 阅读全文
摘要:
下拉列表是网页中常用的方式,本案例重点在于设置下拉子菜单的高度为零,超出部分隐藏。当hover主菜单时,下拉子菜单高度为正常高度,同时加入渐变属性。 阅读全文
摘要:
阅读全文
摘要:
<h1>一级标题 <h2>二级标题 <h3>三级标题 <h4>四级标题 <h5>五级标题 <h6>六级标题 <ul>无序列表 <ol>有序列表 <dl> 自定义列表 <dt> <dd> <p>段落 <pre>格式化文本 <blockquote>块引用 <div>常用块 <figure> <figca 阅读全文
摘要:
css选择器 id选择器 用# class类选择器 用. 元素选择器 用元素标签 属性选择器 input[type=”text”]{ Border:2px; } 伪类选择器 /*未访问时*/ a:link{ color:black; text-decoration: none; } /*访问后*/ 阅读全文