CSS
文章平均质量分 92
Mr_LiBo
这个作者很懒,什么都没留下…
展开
-
css 常见样式
/* 1、得是以配置为inline-block的元素,或默认以block呈现的div、p元素 2、强制不换行 3、固定宽度 4、超出部分隐藏 5、超出部分以'...'结尾 */.test{ border:1px solid #000000; display: inline-block; white-space: nowrap; width: 140px; overf...原创 2020-08-25 10:22:03 · 370 阅读 · 0 评论 -
css 优惠劵
<html><head><style type="text/css">.body { background: #fff; height: 100%;}.item { margin: 0px; height: 230px; background: #fff; margin-bottom: 30rpx; position: relative; display: flex;}.le...原创 2020-08-20 15:39:53 · 263 阅读 · 0 评论 -
CSS3瀑布流
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>CSS3瀑布流</title> <style> /*大层*/ .container{width:80%;margin: 0 auto;} /*瀑布流层*/ .waterfall{ -moz-column-c...原创 2020-06-30 11:58:10 · 172 阅读 · 0 评论 -
Css3 弹性盒子布局
display 属性的值为 flex 或 inline-flex将其定义为弹性容器。https://www.runoob.com/css3/css3-flexbox.html1 flex-direction:指定了弹性容器中子元素的排列方式 row 横向从左到右排列(左对齐),默认的排列方式 row-reverse 反转横向排列(右对齐,从后往前排,最后一项排在最前面...原创 2019-11-11 13:35:05 · 849 阅读 · 0 评论 -
WXCC
<html><head><style type="text/css">.body { background: #fff; height: 100%;}.item { margin: 0px; height: 230px; background: #fff; margin-bottom: 30r...原创 2019-09-26 17:54:08 · 1277 阅读 · 0 评论