css
-越努力越幸运-
这个作者很懒,什么都没留下…
展开
-
animation的使用-无限上下移动
<!DOCTYPE html> <html> <head> <title>animation 无限上下移动</title> <style type="text/css"> .box{ width:100px; height: 100px; position:relative; top:200px; border-radius:50%; ...原创 2020-12-23 14:31:24 · 1058 阅读 · 0 评论 -
animation的使用-css无限旋转
<!DOCTYPE html> <html> <head> <title>animation-无限旋转</title> <style type="text/css"> .box{ width:100px; height:100px; margin:100px; background:#f00; animation: rotate 3s linear ...原创 2020-12-23 14:22:36 · 1805 阅读 · 0 评论 -
无序列表li去掉标志,文本不根据标记对齐
大部分项目的列表都不需要标志,只要给ul添加一个list-style:none的属性即可;如果要把文本对齐标志,则添加list-style-position: inside;为了看着比较清晰,一般会把标志放在文本外面,添加list-style-position: outside就可以了。html5默认的就是把标志放在文本外面。更多关于标志的属性有list-style-image(将图像设置为标志)...原创 2019-04-10 15:57:37 · 1934 阅读 · 0 评论 -
css修改滚动条样式(谷歌浏览器)
<div class="box"> <p>scrollTop([val])</p> <p>获取匹配元素相对滚动条顶部的偏移。</p> <p>此方法对可见和隐藏元素均有效。</p> <p>jQuery 代码:</p> ...原创 2019-10-09 18:31:31 · 396 阅读 · 0 评论