E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
align-items
input框点击出现蓝色背景,uniapp项目,这是ios系统手机独有的问题,安卓和window系统没有。要在点击的标签里面加上 -webkit-tap-highlight-color
webkit-tap-highlight-color:rgba(0,0,0,0);.uni-stat__select{-webkit-tap-highlight-color:rgba(0,0,0,0);display:flex;
align-items
深一海
·
2024-01-21 20:56
uni-app
webkit
前端
view中用flex实现文字的垂直居中
视图容器view上设置view{display:flex;justify-content:center;
align-items
:center;}view相当于div是一个视图容器,传统的方法实现div中文字的水平垂直居中是设置
前端来入坑
·
2024-01-21 16:46
HTML5+CSS3小实例:全屏搜索栏
box-sizing:border-box;*/}body{/*100%窗口高度*/height:100vh;/*弹性布局水平+垂直居中*/display:flex;justify-content:center;
align-items
艾恩小灰灰
·
2024-01-21 10:38
uniapp 学习笔记
flex-direction:row;//方向row垂直flex-wrap:wrap;//显示不下是否换行}//居中.center(){display:flex;justify-content:center;//垂直居中竖向
align-items
宙思无限
·
2024-01-20 16:30
uniapp
uni-app
学习
笔记
html作业一
font-family:Arial,sans-serif;background-color:#f2f2f2;margin:0;padding:0;display:flex;justify-content:center;
align-items
码喽Monkey2022
·
2024-01-20 09:33
经验分享
笔记
前端
html
第8次修改的备忘录:暂时还没有做本地保存
第8次修改的html备忘录与妖为邻的备忘录*{margin:0;padding:0;box-sizing:border-box;}body{display:grid;
align-items
:center
与妖为邻
·
2024-01-20 08:31
前端
css
javascript
display布局实现一侧的盒子高度与另一侧盒子的高度等高
实现两边容器的高度等高主要是用
align-items
:stretch这个属性stretch拉伸:子元素没有高度或高度为auto,将占满整个容器的高度我是测试页面添加高度import{ref,computed
张大栗子
·
2024-01-20 00:41
javascript
前端
css
css 实现四角边框
position:relative;width:100px;height:50px;top:100px;margin:0auto;border:1pxsolid#5384ff;display:flex;
align-items
Webgiserin
·
2024-01-19 18:53
css
前端
align-item 和 align-content
align-item和align-contentflex布局中的
align-items
和align-content属性都用于垂直对齐flex容器内的项目,但它们适用于不同的情况:
align-items
:
正宗咸豆花
·
2024-01-19 13:04
css3
前端
【CSS】垂直居中的四种实现方式
以下是一些流行和高效的垂直居中技术:使用Flexbox.container{display:flex;
align-items
:center;/*垂直居中*/justify-content:cen
正宗咸豆花
·
2024-01-19 13:01
css
前端
svg工厂动画
Document*{margin:0;padding:0;box-sizing:border-box;}main{display:flex;
align-items
:center;justify-content
你的美,让我痴迷
·
2024-01-19 11:01
css
css3
html
css技能进度条表现效果
padding:0;font-family:sans-serif;}*{box-sizing:border-box;}ul,li{margin:0;padding:0;}main{display:flex;
align-items
你的美,让我痴迷
·
2024-01-19 11:53
css
前端
HTML中div内容垂直居中显示
方法一:使用flexbox布局.container{display:flex;
align-items
:center;justify-content:center;height:100vh;/*设置容器高度为视窗高度
MartinYangHJ
·
2024-01-19 08:55
前端框架
前端
el-table实现搜索高亮展示并滚动到元素位置
效果展示:代码Document*{padding:0;margin:0;}#app{padding:30px;}.searchBox{width:100%;display:flex;
align-items
木叶随风而逝
·
2024-01-19 07:39
vue.js
javascript
elementui
前端
div垂直居中方式
1、flex弹性布局:.father{width:300px;height:300px;display:flex;justify-content:center;
align-items
:center;}.
SuperYiY
·
2024-01-19 06:48
css
css3
前端
CSS 飞舞线条加载中效果
background-color:#212121;/*设置背景颜色为深灰色*/}.page{display:flex;/*使用弹性布局*/justify-content:center;/*水平居中对齐*/
align-items
特创数字科技
·
2024-01-18 14:24
CSS动画
css
前端
css3
微信小程序绘制饼状图
.xml.wxss.left{width:300rpx;height:300rpx;display:flex;justify-content:center;
align-items
:center;position
성간 조각
·
2024-01-18 14:23
css
html
31 3D日历组件
Code2345012323453456*{margin:0;padding:0;box-sizing:border-box;}body{height:100vh;display:flex;justify-content:center;
align-items
若冰说
·
2024-01-18 11:18
若冰说CSS
css
css
前端
若冰说CSS
小程序view布局:垂直居中和水平居中
display:flex;flex-direction:column;width:523rpx;height:446rpx;border-radius:50rpx;background-color:white;
align-items
黑夜之星
·
2024-01-18 09:16
UI效果
小程序
原生js写一个简易版进度条,带百分比数值显示
700px;height:100px;background:#efefef;border:1pxsolid#C0C4CC;display:flex;justify-content:space-around;
align-items
斯图尔te
·
2024-01-18 07:25
#
JavaScript
进度条
js进度条
HTML+CSS实现页面Loading效果
10000;width:100%;height:100%;position:fixed;top:0;right:0;background:#0000004d;justify-content:center;
align-items
醉酒的李白、
·
2024-01-17 12:58
css
css
html
前端
(day15)CSS3弹性盒详解
3、弹性盒详解1、可以添加在父级元素上的属性,控制子级元素1、flex-dirextion弹性盒的默认主轴2、justify-content主轴对齐方式3、
align-items
侧轴对齐方式4、flex-wrap
前端尨猫
·
2024-01-17 06:13
前端学习之路
css3
html5
css
day11_2 CSS3弹性盒子flexbox
弹性盒子介绍和普通盒子的对比示例direction属性示例flex-direction属性示例justify-content属性示例
align-items
属性示例flex-wrap属性示例align-content
亦昭昭
·
2024-01-17 06:05
记录前端学习
css3
前端
css
CSS 跳动信号条
{background-color:black;}/*创建一个加载动画的容器,设置宽度、高度*/.loading-wave{width:300px;height:100px;display:flex;
align-items
特创数字科技
·
2024-01-17 02:31
CSS动画
css
前端
css3
CSS 下载进度条
;/*页面宽度为视口宽度*/background:#000000;/*背景颜色为白色*/display:flex;/*使用flex布局*/justify-content:center;/*水平居中*/
align-items
特创数字科技
·
2024-01-16 23:45
CSS动画
css
css3
前端
新闻列表内容展示的小程序页面
data.description}}css复制代码/*components/news-item/index.wxss*/.news-item{display:flex;flex-direction:column;
align-items
elirlove1
·
2024-01-16 10:38
小程序
CSS实现平行四边形
2、具体实现Document.mian{display:flex;margin:12px;}.item{display:flex;
align-items
:center;gap:2px
离逝的枫
·
2024-01-16 09:04
CSS
JS
css
前端
元素水平垂直居中的5种方式
1、利用弹性盒子将父元素设置为display:flex;通过:justify-content:center;
align-items
:center;来设置元素的垂直水平居中2、将元素转化为表格的形式父元素设置
诗霖雪
·
2024-01-16 09:34
css
前端
css
html
CSS 水浪按钮
background-color:#212121;/*设置背景颜色为#212121*/}.content{display:flex;/*使用弹性布局*/flex-direction:column;/*设置主轴方向为垂直方向*/
align-items
特创数字科技
·
2024-01-16 08:28
CSS动画
css
前端
微信小程序position属性的探究
在学习小程序过程中老是被position这个属性弄迷糊,就针对这个属性做了一下验证:先看如下代码:wxml1234wxss.container{display:flex;flex-direction:column;
align-items
温柔vs先生
·
2024-01-16 06:32
elementui-树形控件实现子节点右侧添加图标和数据,鼠标放上去显示文字
1、代码{{node.label}}1">{{data.num}}{{data.sub_num}}css.custom-tree-node{flex:1;display:flex;
align-items
hat-ing
·
2024-01-16 02:08
vue.js
elementui
javascript
align-content 和
align-items
区别是什么 使用场景
结论:1:共同点:它们对齐方向为交叉轴2:不点:align-content应用于为多行而
align-items
:应用于同单行。
南玖i
·
2024-01-15 18:52
html
前端
通讯录
联系人{{v.ids}}{{v.name}}{{v.tel}}{{v}}.home_head{width:100%;height:1rem;background:white;display:flex;
align-items
套路撩人心i_476d
·
2024-01-14 19:42
html+css+Jquery 实现 文本域 文字数量限制、根据输入字数自适应高度
foot-send-imgimg{width:20px;height:20px;}.text-input_5ZOdm{display:flex;justify-content:center;
align-items
付煜晨
·
2024-01-14 14:29
前端学习记录
html
css
jquery
CSS 流光发光按钮
发光按钮body{background-color:black;/*设置页面背景色为黑色*/}.content{display:flex;flex-direction:column;/*将元素垂直排列*/
align-items
特创数字科技
·
2024-01-13 18:43
CSS动画
css
前端
「HTML+CSS」--自定义加载动画【032】
效果展示在这里插入图片描述Demo代码HTMLDocumentCSShtml,body{margin:0;height:100%;}body{display:flex;justify-content:center;
align-items
海轰Pro
·
2024-01-13 11:02
css样式中常见的知识点
500px; height:500px; border:1pxsolidblack; display:flex; justify-content:center; /*水平居中*/
align-items
可爱的秋秋啊
·
2024-01-12 19:11
css
css
css3
html
弹跳小球加载
Codebody{height:100vh;display:flex;justify-content:center;
align-items
:center;background-color:#212121
若冰说
·
2024-01-12 18:02
若冰说CSS
css
css
前端
若冰说CSS
css-文本垂直居中, 左侧border与文字作为导航标题
1.文本垂直居中1.1Flexbox布局.container{display:flex;
align-items
:center;/*使用
align-items
属性垂直居中*/height:200px;/*
哟哟耶耶
·
2024-01-12 12:15
css
css
前端
HTML5+CSS3小实例:炫彩爱心加载特效
效果:源码:炫彩爱心加载特效body{margin:0;/*100%窗口高度*/height:100vh;/*弹性布局水平、垂直居中*/display:flex;
align-items
:center;justify
艾恩小灰灰
·
2024-01-12 02:23
CSS 弹幕按钮动画
弹幕按钮弹幕按钮/*设置背景颜色为黑色*/body{background-color:black;}.content{display:flex;flex-direction:column;
align-items
特创数字科技
·
2024-01-11 09:26
CSS动画
css
前端
CSS 滑动发光文字 动画
=ref("我发光了")body{background-color:black;/*设置页面背景颜色为黑色*/}.content{display:flex;flex-direction:column;
align-items
特创数字科技
·
2024-01-11 06:40
CSS动画
css
前端
css弹性布局flex
1、开启flex布局,display:flex;布局块级元素display:inline-flex;布局行内元素2、设置主轴方向,默认的主轴是横向,flex-direction3、设置侧轴(交叉轴):
align-items
Z皓峻AS
·
2024-01-11 06:08
css
前端
flex布局(3)
padding:0;box-sizing:border-box;}.flex{display:flex;flex-flow:rowwrap;justify-content:space-between;
align-items
伊昂呀
·
2024-01-10 06:52
css
css3
前端
用html和css实现一个加载页面【究极简单】
:HTML文件(index.html):LoadingPageLoading...CSS文件(styles.css):/*styles.css*/body{margin:0;display:flex;
align-items
K I N G
·
2024-01-09 17:39
html
css
前端
25 心形按钮
Codebody{height:100vh;display:flex;justify-content:center;
align-items
:center;background-color:#212121
若冰说
·
2024-01-09 06:20
若冰说CSS
css
css
前端
若冰说CSS
CSS 发光输入框动画
background-color:#212121;}/*设置内容容器的样式*/.content{display:flex;/*使用Flex布局*/flex-direction:column;/*设置主轴为纵向排列*/
align-items
特创数字科技
·
2024-01-09 05:56
CSS动画
css
前端
css3
html
javascript
【css】快速实现鼠标悬浮变色效果
nav-item{width:100rem;height:45rem;line-height:45rem;display:flex;text-align:center;justify-content:center;
align-items
Lana学习中
·
2024-01-08 23:45
VUE
css
javascript
前端
常用CSS样式
200px0;height:200px;background:#dfb311;position:relative;border-radius:10px;font-size:30px;display:flex;
align-items
cesiuming
·
2024-01-08 22:48
【前端设计】小球loading动画
htmlDocumentcss*{margin:0;padding:0;}html{height:100%;}body{height:100%;display:flex;justify-content:center;
align-items
余炜yw
·
2024-01-08 21:18
css案例
前端
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他