栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > Web开发 > Html/CSS > CSS教程

微信小程序的布局css样式

CSS教程 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

微信小程序的布局css样式

width: fit-content;
font-size:20px;     
color:red;          
font-weight:bold;   
border:1px solid red;
font-family:"宋体";  

font-style:italic;   
text-decoration:underline;  
text-decoration:line-through;
text-indent:2em;            
line-height:1.5em;          
letter-spacing:50px;        
word-spacing:50px;          
text-align:center;  right ; left ; 

display:inline-flex;       
display:block;             
display:inline;            
display:inline-block;      

word-break:keep-all;         
white-space:nowrap;          
vertical-align:middle;    

border-style(边框样式)常见样式有:  (border-color,border-width) 边框相关设置
dashed(虚线)| dotted(点线)| solid(实线)。
border-bottom border-top border-right border-left 上下左右线单独设置

box-sizing: border-box; //当使用padding的时候不影响大小
padding-top padding-right padding-bottom padding-left
margin-top margin-right margin-bottom margin-left (margin:10px 10px 10px 10px; top、right、bottom、left)

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/242158.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号