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
使用js和canvas实现下雪效果
需求:实现较为逼真的下雪效果实现:body{display:flex;justify-content:center;
align-items
:center;gap:1em;min-height:100vh
fury_123
·
2023-12-21 21:01
javascript
css
开发语言
雪花效果
按钮Hover边框绘制特效
Documenthtml,body{padding:0;margin:0;font-family:'PingFangSC';}.container{display:flex;
align-items
:center
你的美,让我痴迷
·
2023-12-21 15:47
javascript
前端
html
【css技巧】分享
1.打字效果代码实现:有趣且实用的CSS小技巧.wrapper{height:100vh;display:flex;
align-items
:center;justify-content:center;}
【南汐】前端
·
2023-12-21 04:24
css
css
前端
用弹性盒子实现垂直居中及用css实现图片垂直居中
一、弹性盒子(Flexbox)实现垂直居中,可以通过以下步骤:1、将容器设置为弹性布局:.container{display:flex;
align-items
:center;/*垂直居中*/}2、在容器内部的项目上应用
香香爱编程
·
2023-12-20 11:02
前端
javascript
html
WX小程序案例(二):毒鸡汤列表-request-下拉
network.wxss*/.box{display:flex;width:690rpx;height:300rpx;border:1pxsolidblack;border-radius:50rpx;
align-items
Int mian[]
·
2023-12-20 00:15
小程序
javascript
前端
React实现全局Loading
css#__loading{position:fixed;top:0;left:0;z-index:99999;display:flex;
align-items
:center;justify-content
头像为自己开发微信小程序
·
2023-12-19 23:12
react.js
前端
前端框架
复合型下拉框
element只提供了复合型输入框,复合型下拉框的效果,我是通过button与el-select拼接形成的,代码如下:是否需要审核.form{display:flex;justify-content:start;
align-items
超级无敌小小小白
·
2023-12-19 17:10
Element-ui
css
vue.js
css
elementui
flask搞个简单登录界面
LoginPagebody{font-family:Arial,sans-serif;background-color:#f4f4f4;margin:0;padding:0;display:flex;
align-items
零时搞学习
·
2023-12-19 05:19
Web
Python3
flask
python
微信小程序自定义提示框组件并使用插槽 tooltip
tooltiptooltip.wxml:用于定义组件的结构;{{content}}tooltip.wxss:用于定义组件的样式;.tooltip-wrapper{position:absolute;display:flex;
align-items
皮卡丘-杰尼龟
·
2023-12-19 04:30
微信小程序
小程序
Antd Select 添加中框
默认antd的Select中间并没有竖框,但是uidesign设计了,所以记录一下如何添加默认:CSS:.custom-select-suffix-icon{display:flex;
align-items
我也秃了
·
2023-12-18 22:58
React
入坑学习
react
antd
Odoo 搜索面板显示隐藏切换
this.root.el.classList.toggle('d-none')"style="width:8px;height:100%;border-width:01px;display:flex;
align-items
隔壁小红馆
·
2023-12-18 13:12
odoo17
odoo
移动聊天UI实现
"PingFangSC",sans-serif;}*{box-sizing:border-box;}ul,li{margin:0;padding:0;}.container{display:flex;
align-items
你的美,让我痴迷
·
2023-12-18 12:15
ui
css
前端
【后端学前端】第四天 css动画 垂直轮播效果(css变量、位移缩放动画、动画延迟)
Title*{margin:0;padding:0;box-sizing:border-box;}body{height:100vh;display:flex;justify-content:center;
align-items
香菜+
·
2023-12-18 04:59
前端学习
前端
css
移动web面试题
行为层页面交互的动态效果2、主流浏览器对应的内核IEtrident火狐gecko谷歌blink欧朋blinksafariwebkit3、flex的基本使用display:flex弹性盒子justify-content主轴
align-items
A9~
·
2023-12-18 04:21
面试题
前端
面试
【动画消消乐】HTML+CSS 自定义加载动画 056
效果展示在这里插入图片描述Demo代码HTMLDocumentCSShtml,body{margin:0;height:100%;}body{display:flex;justify-content:center;
align-items
海轰Pro
·
2023-12-17 20:56
svg代码图片水平垂直居中对齐,文本内容与icon水平对齐,无宽高div水平垂直居中
1.实现svg在一个div中水平垂直居中-子组件设置高度在外层引用的时候添加了行高可垂直居中对齐style="display:flex;height:40px;
align-items
:center;"2
哟哟耶耶
·
2023-12-17 17:40
学习Learn
css
【CSS】用 CSS 写一个渐变色边框的输入框
群友问了下,就试着写了下,看了看css渐变色MDN文档,其实很简单,代码记录下:Documentbody{height:100vh;display:flex;justify-content:center;
align-items
努力挣钱的小鑫
·
2023-12-16 21:11
CSS
css
前端
layui
:100%;height:100%;background-color:rgba(0,0,0,0.5);z-index:9999;display:flex;justify-content:center;
align-items
m0_64180190
·
2023-12-16 07:15
layui
前端
javascript
前端知识库Html5和CSS3
1、常见的水平垂直居中实现方案最简单的方案是flex布局.container{display:flex;
align-items
:center;justify-content:center;}绝对定位配合
奇怪的点
·
2023-12-16 01:28
前端
知识库
前端使用视频作为背景图的方法
代码有开发问题可联系作者.login{width:100%;height:100%;display:flex;
align-items
:center;}.video-background{position
Jiang_JY
·
2023-12-15 15:38
前端
css
html
前端
html5
css3
CSS饼图/环形图
border-radius:100%;background:conic-gradient(red030%,orange30%60%,yellow60%85%,blue85%100%);//圆锥形渐变display:flex;
align-items
夕心o
·
2023-12-15 10:01
css
前端
javascript
html css title 属性最长字节 1024
margin:0;padding:0;box-sizing:border-box;}.app-container{height:100vh;display:flex;flex-direction:column;
align-items
时遇¥.¥..
·
2023-12-15 10:53
css
html
前端
微信小程序:按钮禁用,避免按钮重复提交
按钮*/.modal-buttons{width:100%;height:7%;display:flex;font-weight:bold;}.one_btn{flex:1;display:flex;
align-items
雯0609~
·
2023-12-15 08:11
微信小程序
微信小程序
notepad++
小程序
html5 登录玻璃特效
font-family:"PingFangSC","MicrosoftYahei",sans-serif;}.container{width:100vw;height:100vh;display:flex;
align-items
你的美,让我痴迷
·
2023-12-14 23:10
html5
前端
html
el-menu标题过长显示不全问题处理
layout\components\Sidebar\index.vue文件后添加CSS/*侧栏导航菜单经典文字超长溢出问题CSS折行*/.el-submenu__title{display:flex;
align-items
itCatface
·
2023-12-14 14:17
Web_基础知识
vue
elementui
「HTML+CSS」--自定义加载动画【035】
效果展示在这里插入图片描述Demo代码HTMLDocumentCSShtml,body{margin:0;height:100%;}body{display:flex;justify-content:center;
align-items
海轰Pro
·
2023-12-07 01:30
关于前端学习的思考-
align-items
的用法
垂直对齐只对,显示模式display:flex有效所以只能是flex盒子才能应用。摆四张图片就能清晰认识,不再赘述。
Stephen Qiao
·
2023-12-07 00:34
学习
原生JavaScript实现Tab栏切换案例
下面是基于html+css+javascript的tab栏代码示例:Tab栏切换示例/*设置Tab栏容器的样式*/.tab-container{display:flex;
align-items
:center
不爱搬砖的码农
·
2023-12-06 10:24
javascript
前端
html
Loading插件
Vue.extend用法2#loading-wrapper{position:fixed;top:0;left:0;display:flex;justify-content:center;
align-items
零界梦忆
·
2023-12-06 09:04
html css 布局layout
justify-content:space-between;—水平分布【item之间有相同的边距,和容器之间没边距】justify-content:space-around;—item和item之间以及和容器之间都有边距
align-items
皮卡丘-杰尼龟
·
2023-12-06 05:57
html
css
前端
扁平按钮样式
上图代码:扁平按钮body{margin:0;padding:0;height:100vh;display:flex;justify-content:center;
align-items
:center;
马卫斌 前端工程师
·
2023-12-05 09:04
css
javascript
前端
学习使用html和js实现打字机效果代码整理,一个字一个字显示出来
实现打字机效果代码整理*{margin:0;padding:0;box-sizing:border-box;}body{height:100vh;display:flex;justify-content:center;
align-items
徊忆羽菲
·
2023-12-05 05:42
Html
Javascript
html
javascript
学习
Vue 元素动画缓入效果
boxImg.jpg')no-repeat;background-size:100%100%;width:100%;height:300px;margin-bottom:20px;display:flex;
align-items
路光.
·
2023-12-05 05:31
vue.js
javascript
前端
flex居中
display:flex;flex-direction:column;//主轴的方向,如果内部只有一个元素,那么这个值可以任意取(默认为row)
align-items
:center;//定义项目在交叉轴上如何对齐
速 �
·
2023-12-04 08:14
前端
html
css
Apple Watch 呼吸灯
body{background:#000;display:flex;
align-items
:center;height:100vh;justify-content:center;}.watch-face
new code Boy
·
2023-12-04 02:41
前端
javascript
html
3D悬停相册
先上图代码:3D悬停相册*{margin:0;padding:0;box-sizing:border-box;}body{display:flex;justify-content:center;
align-items
马卫斌 前端工程师
·
2023-12-02 11:05
3d
css
css3
#Css篇:实现一个元素水平和垂直居中&&实现左右固定,中间自身适应布局&& 左侧固定 右侧自适应
实现一个元素水平和垂直居中元素示例:居中的内容flex布局.container{display:flex;justify-content:center;
align-items
:center;height
Random_index
·
2023-12-02 00:06
Css篇
css
前端
css3 盒子线性流动效果
180px;height:250px;background:rgba(0,0,0,0.8);border-radius:20px;display:flex;justify-content:center;
align-items
路光.
·
2023-12-01 17:03
css3
前端
css
拖动滑块验证
drag/*外部放置滑动区域*/.container{width:100%;height:100vh;display:flex;justify-content:center;
align-items
:center
斑三三
·
2023-12-01 12:40
css
html
前端
javascript
听说还有人不知道如何实现水平垂直居中?
line-height:50px;height:50px;}2、flex.parent{width:600px;height:200px;border:1pxsolidred;display:flex;
align-items
老电影故事
·
2023-11-30 22:24
CSS
前端
css
简单的轮播图
google上找一些图片2.用class=window的div包起来,window就是用户的可视区域,设置overflow:hidden遮住其他图片用cssflex横屏.images{display:flex;
align-items
hzl的学习小记
·
2023-11-30 13:01
html和css实现hover图片上浮效果
body{background-color:black;}div{width:1000px;height:400px;display:inline-flex;justify-content:center;
align-items
诗霖雪
·
2023-11-30 01:17
css
html
css
前端
如何实现中间大两头小的轮播效果
:hidden;/*height:400px;*/background:red;position:relative;}.box{width:125%;height:auto;display:flex;
align-items
罗鹏lp
·
2023-11-29 21:36
美食网站基本结构
:0;padding:0;box-sizing:border-box;}body{font-family:"Arial,sans-serif";}/*导航栏样式*/.nav{display:flex;
align-items
m0_64180190
·
2023-11-29 15:57
css
css3
前端
css之svg 制作圆及旋转
default:'',},});.loading-box{position:absolute;inset:0;z-index:999;display:flex;flex-direction:column;
align-items
Raywh
·
2023-11-28 13:25
css
css3
前端
flex布局实战之自动填充剩余
你可以自行替换为代码报案成功.popup-box{width:80vw;margin:0auto;.title{display:flex;justify-content:space-between;
align-items
wusp1994
·
2023-11-26 16:25
css
javascript
前端
flex布局
Vue3封装全局插件
定义一个全局加载组件一、首先定义dom元素定义一个index.vue文件loading....loading{display:flex;
align-items
:center;justify-content
QAEARQ
·
2023-11-26 11:01
Vue
javascript
vue.js
前端
css动画按钮button hover效果
一.发送效果HTML//这里是一个svg的占位SendCSS#send-btn{display:flex;
align-items
:center;justify-content:center;height
YangYun_Coder
·
2023-11-26 01:52
css
css
css3
elementPlus之home页面布局
Devops平台AsideDevops管理系统.homeHeader{background-color:#04befe;/*弹性展示*/display:flex;/*居中对齐弹性盒子的各项div元素*/
align-items
牛壹壹
·
2023-11-25 23:16
前端
vue.js
javascript
前端
微信小程序:实现可拖动悬浮图标(列表页添加按钮)
fixed;height:90rpx;width:90rpx;background-color:rgba(255,255,255,0.755);border-radius:100%;display:flex;
align-items
遇到问题不要慌
·
2023-11-24 22:15
微信小程序
小程序
html5
上一页
2
3
4
5
6
7
8
9
下一页
按字母分类:
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
其他