![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
this.name
这个作者很懒,什么都没留下…
展开
-
水平垂直居中方法总结
水平垂直居中方法总结一 line-height+vertical-align方法.parent{ line-height:父元素的height}img{ vertical-align:middle; text-align:center;}注:line-height只对文本起作用,对没有文本的行间元素不起作用,vertical-align的作用是使图片与文...原创 2018-07-18 13:53:53 · 108 阅读 · 0 评论 -
让div填满剩下的空间
让div填满剩下的空间 方案一 一 如果parent是body div2{ position:fixed; top:hpx; bottom:0;}二 如果parent是div.parent{ position:relative;}.div2{ position:absolute; top:hpx; botto...原创 2018-07-18 14:21:14 · 10618 阅读 · 0 评论 -
箭头进度条动画
<!DOCTYPE html><html><head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>箭头进度条<原创 2018-12-21 16:34:19 · 703 阅读 · 1 评论