text-align:justify 两端对齐
2024-08-26 21:18:37
今天看页面发现一个以前没用过的css属性text-align:justify,查了一下非常实用,是一个实现文本两端对齐的属性。
使用前:
使用后:
看了一些文章还有结合inline-block+text-align:justify 对齐布局的,出于兼容的问题,我还是倾向浮动处理,有兴趣的可以自己搜一下。
最新文章
- IOS培训还值得么
- System.Drawing.Color
- js中各种事件的兼容性
- Codeforces Round #313 (Div. 2)B.B. Gerald is into Art
- Combiner
- Uploadify 3.2 参数属性、事件、方法函数详解
- html——基础样式篇(1)
- Android-自己定义显示价格的PriceView
- Android MotionEvent事故响应机制
- HTTP 简要
- Web自动化附件上传
- NC 创建表空间数据库
- mysql 开发进阶篇系列 3 SQL 优化(索引使用方法)
- 用Flask+Redis维护Cookies池
- C# 视频多人脸识别的实现过程
- Flutter应用打包发布
- 架构师成长之路1.1-系统监控工具htop
- 在Eclipse中给JRE-Library添加本地Javadoc
- 收集一些常用的CDN链接!无需下载快速使用!
- Linux网络流量监控与分析工具Ntopng
热门文章
- spring-data-jpa一对多多对一多对多关联
- 鼠标经过盒子出现边框(伪元素,定位,css3盒子模型)
- 悬线法DP总结
- noip考点整理(应该不是很完整……)
- ubuntu16.04解决文件中文乱码问题
- spark-shell启动错误
- scala_基础
- node依赖包格式区别
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Initialization of bean failed
- Faster, more memory efficient and more ordered dictionaries on PyPy