全文搜索
标题搜索
全部时间
1小时内
1天内
1周内
1个月内
默认排序
按时间排序
为您找到相关结果332,084个

vue中动态添加style样式的几种写法总结_vue.js_脚本之家

1 html :style="{ display: ['-webkit-box', '-ms-flexbox', 'flex'] }"绑定data对象1 2 3 4 5 6 7 8 9 10 html :style="styleObject" data() { return{ styleObject: { color: 'red', fontSize: '13px' } } }vue3的style样式的特性...
www.jb51.net/article/2645...htm 2025-3-20

结合CSS3的新特性来总结垂直居中的实现方法_css3_CSS_网页制作_脚本之...

display: -ms-flexbox; display: flex; 水平居中 -webkit-box-align:center; -moz-box-align:center; -ms-flex-pack:center; -webkit-justify-content:center; -moz-justify-content:center; justify-content:center; 垂直居中 -webkit-box-pack:center; ...
www.jb51.net/css/4644...html 2025-3-20

纯CSS实现垂直居中的9种方法_CSS教程_CSS_网页制作_脚本之家

垂直居中 css: CSS Code复制内容到剪贴板 .box1{ display:table-cell; vertical-align:middle; text-align:center; } 方法2:display:flex CSS Code复制内容到剪贴板 .box2{ display: flex; justify-content:center; align-items:Center; } 方法3:绝对定位和负边距 ...
www.jb51.net/css/4382...html 2025-2-24

vue实现列表固定列滚动_vue.js_脚本之家

一、display:flex布局,分为四组容器布局: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <!-- 宽度增加动态设置 --> 1 2 3 4 5 6
www.jb51.net/article/2553...htm 2025-3-20

justify-content - CSS - 菜鸟学堂-脚本之家

box-align box-direction box-flex box-flex-group box-lines box-ordinal-group box-orient box-pack box-shadow box-sizing caption-side clear clip color column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns content ...
edu.jb51.net/cssref/cssref-justify-c... 2025-3-21

box-align - CSS - 菜鸟学堂-脚本之家

对div中的子元素同时使用box-align和box-pack的居中属性: div { width: 350px; height: 100px; border: 1px solid black; /* Internet Explorer 10 */ display: -ms - flexbox; - ms - flex - pack: center; - ms - flex - align: center; ...
edu.jb51.net/cssref/cssref-box-ali... 2025-3-19

CSS3实现双圆角Tab菜单_css3_CSS_网页制作_脚本之家

.tab-box .tab-item { position: relative; flex: 1; height: 50px; line-height: 50px; text-align: center; color: #fff; background: #e44f26; } .tab-box .active { background: #fff; color: #333; z-index: 1; } 1. 顶部圆角实现 1 2 3 .tab-box .active { border-radius: 20px...
www.jb51.net/css/8793...html 2025-3-20

详解网站footer沉底效果的三种解决方案_CSS教程_CSS_网页制作_脚本之家

box-sizing: border-box; position: relative; } html, body { width: 100%; height: 100%; margin: 0; padding: 0; } #container { width: 100%; min-height: 100%; display: flex; flex-direction: column; } #content { background: blue; } #footer { width: 100%; height: 100px; backgr...
www.jb51.net/css/6752...html 2025-3-8

小程序scroll-view安卓机隐藏横向滚动条的实现详解_javascript技巧_脚本...

box-sizing: border-box; display: flex; width: 750rpx; overflow: hidden; font-size: 28rpx; color: #7a7269; line-height: 42rpx; .worth-list{ display: flex; margin-left: 30rpx; .worth-item-img{ flex: 1; margin-right: 20rpx; width: 290rpx; height: 560rpx; } img{ width: 290rpx...
www.jb51.net/article/1613...htm 2025-3-19

Html5移动端div固定到底部实现底部导航条的几种方式_html5_网页制作_脚...

这篇文章主要讲解三种实现方案,包括:fixed,absolute,以及css3的flex布局。 html结构如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 滚动区域 底部固定菜单 <!---公用样式---> html,body{ margin:0;padding:0;height:100%;width:100%; } footer{ background:#F2F3F6;max-width: 750px;width: 100%...
www.jb51.net/html5/7668...html 2025-3-7