2017年8月17日

JQuer.HoverDir的基本使用方法

摘要: 首先引入JQ和HoverDir库 HTML部分: <ul id="da-thumbs" class="da-thumbs"> <li> <a href="#"> <img src="img/001.png" alt=""> <div class="hot-info"> <h2>infenStudio 阅读全文

posted @ 2017-08-17 10:31 Lee小白 阅读(262) 评论(0) 推荐(1)

2017年5月24日

css改变input显示的样式

摘要: 设置input宽高,边框大小颜色,背景颜色,字体颜色,字体大小,背景图片,去除蓝色边框。 input{width:80px ;height:30px;border:1px solid red;color:red;font-size:18px;background:url(图片路径) no-repea 阅读全文

posted @ 2017-05-24 16:46 Lee小白 阅读(780) 评论(0) 推荐(0)

2017年5月22日

CSS中的三种常用定位

摘要: 一、相对定位(position:relative) 如果想让一个元素在本来的位置进行一个位移,可以将该元素的定位设置为relative,同时指定相对位移(利用top,bottom,left,right).需要注意的是,元素仍然在文档流中,占据着它本来的位置空间. 二、绝对定位(position:ab 阅读全文

posted @ 2017-05-22 18:14 Lee小白 阅读(425) 评论(0) 推荐(0)

导航