![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
LeuPener
这个作者很懒,什么都没留下…
展开
-
css属性 object-fit
https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit原创 2021-06-25 11:13:43 · 68 阅读 · 0 评论 -
css calc
height: calc(100vh - 228px);原创 2021-05-04 22:50:35 · 78 阅读 · 0 评论 -
pointer-events 阻止用户的点击动作产生任何效果
pointer-events: none 阻止用户的点击动作产生任何效果 阻止缺省鼠标指针的显示 阻止CSS里的hover和active状态的变化触发事件 阻止JavaScript点击动作触发的事件原创 2021-03-16 12:52:12 · 121 阅读 · 0 评论 -
flex 排列
// html <div class="playlist-container"> <div class="playlist-main"> <img src="" class="playlist-img"/> <div>内容</div> </div> </div> // css .playlist-container{ display: flex; flex-wrap: wrap; jus原创 2021-01-05 11:51:49 · 259 阅读 · 0 评论 -
css布局内容对齐 justify-content
.footer { display: flex; justify-content: space-between; align-content: center; } justify-content语法: justify-content: flex-start | flex-end | center | space-between | space-around原创 2020-11-25 22:48:13 · 87 阅读 · 0 评论 -
css 一行文字居中多行文字居右
<style> /*当文字为一行是,则P的宽度小于div的宽度,p标签居中显示在盒子内,文字也就居中了 ;当大于一行时,P的宽度和div的宽度是一致的 ,文字就居左对齐了*/ .content { width: 200px; border: 1px solid #ee2415; text-align: center ;padding: 2px 5px} ...原创 2020-02-17 13:54:57 · 624 阅读 · 0 评论 -
css 内容居中
.login-content { width: 1544px; height: 890px; background-color: #fff; position: fixed; top: 50%; left: 50%; margin-left:-772px; margin-top:-445px; }原创 2019-11-27 13:41:31 · 57 阅读 · 0 评论