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
line-height
css知识学习系列(12)-每天10个知识点
**CSS中的“font-size”和“
line-height
”属性有什么作用?
云边散步
·
2023-09-21 08:34
css学习
css
学习
前端
原生HTML实现marquee向上滚动效果
height:300px;background-color:#000;overflow:hidden;}.row{display:flex;justify-content:space-between;
line-height
不爱搬砖的码农
·
2023-09-21 06:00
javascript
前端
css
requestAnimationFrame实现进度条效果
Document*{margin:0;padding:0;}#test{width:0;height:12px;border-radius:12px;
line-height
:12px;background-color
不爱搬砖的码农
·
2023-09-21 06:29
css
html
前端
纯 css js 实现 tab 切换底部滑块跟随滑动效果
margin:0;}.bar{width:42px;border-bottom:2pxsolid#489C9C;}.content{display:flex;}.contentdiv{height:40px;
line-height
遗忘了的自己
·
2023-09-20 18:25
html
css
js
tab
切换滑块跟随
vertical-align和
line-height
的基情
众所周知,vertical-align支持很多属性值,足足可以组成一个足球队了:/*关键字值*/vertical-align:baseline;vertical-align:sub;vertical-align:super;vertical-align:text-top;vertical-align:text-bottom;vertical-align:middle;vertical-align:
我回地球了
·
2023-09-20 17:21
js实现验证码
.block{border:1pxsolidblack;width:140px;height:40px;
line-height
:40px;text-align:center;}.btnk{color:blue
F飞凡
·
2023-09-20 16:34
乾坤大挪移
.c{float:left;width:130px;}select{width:120px;height:120px;font-size:17px;}.b{float:left;width:80px;
line-height
任仪凡
·
2023-09-20 07:35
SSM02
我们应当有一个登录成功后的主界面在webapp下新建1.main.htmlTitle*{margin:0;padding:0;}.el-header{background-color:#B3C0D1;color:#333;
line-height
今天的代码敲了吗
·
2023-09-20 04:48
Java学习
java
spring
springMVC
mybatis
初学js之(onclick)使用
先上主图二、代码如下改变元素中的内容*{margin:0;padding:0;}img{width:960px;}.dian{position:absolute;width:27px;height:27px;
line-height
念言-ny
·
2023-09-19 22:52
js
Web实现:背景颜色渐变色
HTML部分:我要提问CSS部分:.publish{width:100%;height:50px;
line-height
:50px;/*渐变方向*/background:linear-gradient(
jasmyn518
·
2023-09-19 18:56
CSS
HTML
笔记
前端
css
html
IOS的几个兼容问题
1input高度和
line-height
设置为一致时,光标不垂直居中,居上。
小强不是蟑螂啊
·
2023-09-19 09:42
开班信息
width:300px;margin:50pxauto;}.title{border-top:2px#019e8bsolid;height:36px;background-color:#f5f5f5;
line-height
Citrus柑橘味气息
·
2023-09-19 03:48
导航栏
1pxsolidgold;border-left:1pxsolidgold;border-bottom:1pxsolidgold;margin:0auto;/*background-color:red;*/}a{
line-height
卝婯
·
2023-09-19 03:04
input修改checkbox复选框默认选中样式
默认样式选中前后对比图:解决示例:/*设置未选中样式*/input[type="checkbox"]{position:relative;width:15px;height:15px;
line-height
每天都要进步哦
·
2023-09-18 22:13
前端开发
css
前端
html
javascript
css
JS 实现点击按钮复制内容到粘贴板 clipboard
具体实现如下:点击按钮复制内容到粘贴板body{text-align:center;}#p1{
line-height
:150px;font-size:40px;}#source{font-size:18px
枫_d646
·
2023-09-18 09:30
day05
none;color:#fff;}ul{width:1000px;margin-left:auto;margin-right:auto;background:pink;list-style:none;
line-height
特洛伊芋头
·
2023-09-18 01:31
【微信小程序】文章设置
设置基本字体样式:行高、首行缩进 font-size: 32rpx;
line-height
: 1.6em; text-indent: 2em; padding: 20rpx 0; border-bottom
进阶的CC
·
2023-09-17 23:40
前端
javascript
html
1-4-阶段性案例:传智书城的页面设计
header{background-color:black;color:white;padding:50px;text-align:center;}#left{background-color:gray;
line-height
axinawang
·
2023-09-17 16:14
javaweb
css
html
javascript
利用离屏canvas提高复制图像放大的效率并添加水印
不过它们可以显著的提高绘图效率代码如下图像与视频*{padding:0;margin:0}a{text-decoration:none}img{border:none}ul,ol{list-style:none}br{font-size:0;
line-height
infi_
·
2023-09-17 14:44
layui talbe内容自动换行以及固定列自适应换行后的高度
CSS样式(必须).layui-table-cell{
line-height
:20px!
yzmy
·
2023-09-17 12:52
layui
前端
javascript
2019-04-04第九课
无标题文档.title{font-size:18px;
line-height
:35px;text-indent:1em;background:#0f7cbf;width:200px;color:#fff
大长腿快快跑
·
2023-09-17 12:30
使用CSS的position: sticky属性实现吸顶效果
Document*{padding:0;margin:0;}.container{border:1pxsolidsalmon;height:400px;overflow-y:auto;}.article{
line-height
一个爬坑的Coder
·
2023-09-17 02:58
#
CSS学习
css
前端
javascript
单行或多行文本溢出
1.单行文本溢出p{/*隐藏溢出文本*/overflow:hidden;
line-height
:40px;width:400px;height:40px;border:1pxsolidred;/*当对象内文本溢出时显示省略标记
_Jyann_
·
2023-09-16 20:00
css
前端
css
javascript
css3
前端开发中,文本单行或多行溢出使用省略号显示
1.文本单行溢出使用省略号显示关键代码如下:.box1{width:200px;height:30px;
line-height
:30px;margin:0auto;background-color:rgba
小白不白`
·
2023-09-16 10:00
前端开发
前端
html
css3
css
javascript
向打工搬砖人致敬!
向打工搬砖人致敬每日搬砖倒计时.date{margin:auto;width:1000px;height:30px;
line-height
:30px;background-color:#fff;color
wh0am1·
·
2023-09-15 18:02
javascript
前端
html
HTML用hover页面动画效果,一个简单hover动画效果_html/css_WEB-ITnose
HTML:demo1demo2CSS:.demo{width:100px;height:100px;text-align:center;
line-height
:100px;border:10pxsolid
weixin_39883208
·
2023-09-14 21:51
css中display:inline-block与display:inline的区别
123456.wrap>div{width:100px;height:100px;
line-height
:100px;text-align:center;}起始页面显示如下:2、添加display:inline
体会!
·
2023-09-14 15:41
1024程序员节
css
html
flex布局中的几个小技巧
里面,不能写到li上面ul{display:flex;//flex必须写在父元素ul里面justify-content:space-between;height:75px;li{height:75px;
line-height
kingtopest
·
2023-09-14 15:35
css
html5
邮箱验证码 html 模板
divNeteaseBigAttach_bak{display:none;}blockquote{display:none;}body{font-size:14px;font-family:arial,verdana,sans-serif;
line-height
法国锄头雨
·
2023-09-14 14:48
html
针对ckeckbox选中后背景和内容有白色打勾
css.inputBox{display:block;width:16px;height:16px;border:1pxsolid#ccc;background:#fff;text-align:center;
line-height
jecson
·
2023-09-14 04:49
handsome主题美化(二)- 底部页脚版权美化
底部页脚*/.github-badge{display:inline-block;border-radius:4px;text-shadow:none;font-size:12px;color:#fff;
line-height
_假装在上海
·
2023-09-14 03:10
修改select及option的样式
#bdb2b2;border-radius:10px;/*清除select聚焦时候的边框颜色*/outline:none;/*设置select的宽高*/width:200px;height:40px;
line-height
在线小白www
·
2023-09-13 19:44
jQuery
置顶菜单
0auto;}.menu,.menu_pos{width:960px;height:50px;margin:0auto;background-color:gold;text-align:center;
line-height
啊烟雨
·
2023-09-13 13:28
javascript竖向菜单,纵向菜单
竖向折叠菜单*{margin:0;padding:0;font-size:14px;list-style:none;}#nav{margin:10px;text-align:center;
line-height
cdcdhj
·
2023-09-12 18:20
javascript学习日记
javascript
jquery
scss样式里:after的用法
scss样式里:after的用法这是两个动态特效,要求数字要挨着蛋且居中,这个时候因为数字并不统一,可能为一位数可能为两位数,这个时候就要用到:afterp{
line-height
:39px;font-size
小白白一枚111
·
2023-09-12 15:28
css
scss
:after
css
css3
html
html5
使用CSS制作斜边矩形原理分析
上代码.pick{position:absolute;z-index:999;left:0;top:0;background:#fd3a51;
line-height
:20px;padding:06px08px
jerrylearner
·
2023-09-12 01:14
CSS
css3
css
html
解决鼠标无法划到hover触发后的显示区域的问题
造成这个问题的根本原因是:hover效果的交互区域太小,导致鼠标很容易就脱离了hover的触发边界解决办法:通过设置
line-height
撑开被hover元素的容器高度,扩大hover的交互区域
kingtopest
·
2023-09-11 12:17
html
css
css3
小程序中的tab切换
小程序中的tab切换应该是很常用的东西,于是记录一下进行分享wxml代码资料交易wxss代码.swiper-tab{width:100%;text-align:center;height:85rpx;
line-height
西红柿炒洋海兽
·
2023-09-10 14:07
css3 对话框上的三角形
position:absolute;border-radius:4px;padding:10px;font-size:12px;text-align:center;white-space:nowrap;
line-height
追风筝的一朵云
·
2023-09-10 12:29
Element-ui container常见布局
1、header\main布局HeaderMain.el-header{background-color:#B3C0D1;color:#333;text-align:center;
line-height
春蕾夏荷_728297725
·
2023-09-10 11:18
ElemntUI
ui
vue.js
Elementui
container
2019-01-07 验证码 倒计时
inline-block;width:104px;color:#fff;font-size:12px;border:1pxsolid#0697DA;text-align:center;height:30px;
line-height
土豆丝炒洋芋丝
·
2023-09-10 07:05
前端导航条
none;text-decoration:none;}.box{width:960px;height:40px;background-color:#50a7ee;margin-top:50px;}.nav{
line-height
_Clown_
·
2023-09-09 16:13
重学CSS(8)—— 内联元素的掌管者
line-height
和vertical-align(下)
1.vertical-align的五类属性抛开inherit这类全局属性不谈,个人把vertical-align分成五类,作者将第一类和第二类总结成线类。(1)跟x字母打交道的线类:baseline/middle(2)基于行框盒子边缘的线类:top/bottom(3)跟父级基线相关的文本类:text-top/text-bottom(4)常用于公式的上标下标类:super/sub(5)具体数值类:2
前端大叔熟
·
2023-09-09 15:34
js+div实现跑马灯效果,替代marquee实现无缝滚动
CSS.pad_right{padding-left:15px;}#scroll_div{height:26px;
line-height
:26px;overflow:hidden;white-space
猿起猿灭
·
2023-09-09 12:05
前端
js跑马灯
无缝滚动
marquee
弹性盒布局(上)
w;height:@h;background-color:@back;}.flex{.whb(500px,300px,#999);margin:0auto;div{text-align:center;
line-height
靳玉行
·
2023-09-08 16:33
常用收藏(自己用的)
PingFangSC-Regular","sans-serif","STHeitiSC-Light","微软雅黑","MicrosoftYaHei";color:#333;font-size:14px;
line-height
羽筠
·
2023-09-08 15:16
CSS
HTML5
html5
css
html
2018.8.7
{list-style:none;}a{text-decoration:none;}.container{width:600px;margin:100pxauto;}.nav{height:40px;
line-height
喜欢暗杠
·
2023-09-08 14:50
前端常见题目
1.常用的几种居中方式盒子垂直居中(1)margin:0auto;text-align:center;
line-height
:子元素高度(2)父元素设置display:flex+justify-content
滑梯plus版
·
2023-09-08 07:23
vue.js
javascript
前端
(html+CSS)垂直居中
line-height
设置文字行高等于父元素的高度vertical-align用于设置一个元素的垂直对齐方式,但是它只针对于行内元素或者行内块元素有效。
百变珍珑兽
·
2023-09-08 05:27
html+css+js
html
css
前端
vue.js选项卡效果
.ul1{width:600px;overflow:hidden;}.ul1li{width:198px;background:orange;float:left;text-align:center;
line-height
纪美
·
2023-09-08 04:24
上一页
7
8
9
10
11
12
13
14
下一页
按字母分类:
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
其他