1、建视口 .box{ width:100px height:100px; border:1px solid; 2、插图 background-image:url(“img/spite.jpg”); } 3、改位置 .box:hover{ background-position:-200px -20 ...
分类:
其他好文 时间:
2018-07-29 10:47:24
阅读次数:
119
1、元素选择器 会选到HTML中所有同样的标记 2、类选择器 会应用到具有这个类的元素 3、ID选择器 具有唯一性 4、通配符 * 表示所有 5、伪类选择器 link 未访问时 hover 鼠标悬停、移入 active 鼠标点击下去时 visited 访问后 li:nth-child() li:fi ...
分类:
Web程序 时间:
2018-07-29 10:11:03
阅读次数:
218
满天星星闪烁动画效果: (可用星空动画来作为页面背景,白色文字改为文章或者其他的O(∩_∩)O) <!doctype html> <html> <head> <meta charset="utf-8"> <title>jQuery夜晚天空满天星星闪烁动画</title> <script src="j ...
分类:
Web程序 时间:
2018-07-27 01:31:18
阅读次数:
398
<style type="text/css">.box{width: 200px;height: 30px;background: #0000FF;color: #FFFFFF;margin: 0 auto;line-height: 30px;text-align: center;}body{tex ...
分类:
Web程序 时间:
2018-07-27 01:27:16
阅读次数:
397
可用于菜单,点赞,等。都是基于样式的hover事件 ...
分类:
其他好文 时间:
2018-07-27 01:24:00
阅读次数:
169
1、需求分析 为网站”换肤",为用户提供了多种选择,提高了用户的满意度,同时也能提高网站的知名度。 2、技术分析 基于HTML、CSS、JavaScript。 3、详细分析 点击第一栏颜色按钮,网页会转换成对应颜色页面。 3.1 HTML部分 如图,页面内容由两部分构成,皮肤颜色按钮栏,和导航栏,也 ...
分类:
Web程序 时间:
2018-07-25 17:05:27
阅读次数:
189
65536K 动态归化+滚动数组 JSZKC is the captain of the lala team. There are NN girls in the lala team. And their height is [1,N][1,N] and distinct. So it means ...
分类:
其他好文 时间:
2018-07-25 01:04:34
阅读次数:
268
关于gitment gitment其实就是利用你的代码仓库的Issues,来实现评论。每一篇文章对应该代码仓库中的 一个Issues,Issues中的评论对应你的博客每篇文章中的评论。如果你是用github的博客的话 用起来将会十分的方便。 注册github应用 首先需要在这注册一个 OAuth A ...
分类:
其他好文 时间:
2018-07-24 14:04:58
阅读次数:
181
增加样式级别就行啦 .el-table--enable-row-hover .el-table__body tr:hover>td{ background-color: #212e3e !important; } 增加样式级别就行啦 .el-table--enable-row-hover .el-t ...
分类:
其他好文 时间:
2018-07-22 23:32:33
阅读次数:
681
使用ul li标签构建导航栏,在li中设置两个并列标签<a>和<span>,分别装有中文和英文,利用css:hover伪类设置显示隐藏。 代码如下: ...
分类:
其他好文 时间:
2018-07-22 22:22:48
阅读次数:
168