css的行高示例
来源:互联网 发布:linux批量创建文件 编辑:程序博客网 时间:2024/05/19 13:23
css中line-height 用于设置 字体高度,详细 说明如 截图:
应用demo
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>a标签设置成按钮形式</title> <style> a { background-color: blue; font-size: 20px; font-weight: bold; display: inline-block; width: 80px; height: 50px; /*行高 控制文本上下居中*/ line-height: 50px; /*设置 文本 左右居中*/ text-align: center; /*去除a标签的 文本的 下划线*/ text-decoration: none; } </style></head><body><a href="#">按 钮</a></body></html>
0 0
- css的行高示例
- css的行高
- css行高line-height的介绍
- css的行高Line Height属性
- css行高line-height的用法
- css的行高 盒子模型
- 高质量的css
- 高质量的css
- 高质量的CSS
- CSS行高
- 深入 CSS 行高
- css-行高
- Css lineheight 行高
- css盒子模型的示例
- css的常用操作示例
- 二、高质量的CSS
- CSS中行高的总结
- 书写高性能的css
- Android系统启动流程分析之启动应用
- linux修改root用户的密码
- 如何使用MarkDown 使 代码块高亮
- ubuntu14.10下解决MYSQL安装错误:"ERROR 1045 (28000)
- 字符串转成16进制数值
- css的行高示例
- angular.js通过URL获取json并显示代码
- Android 的MVC
- 为什么不能直接通过IP访问网站
- swiper的基础使用(十二)
- NodeUtils
- 2016/6/23
- BZOJ2794: [Poi2012]Cloakroom
- Nginx 安装配置