记录一下CSS outline-width 属性
2024-09-04 18:13:19
outline(轮廓)是绘制于元素周围的一条线,位于边框边缘的外围。
outline-width指定轮廓的宽度。
注意: 请始终在outline-width属性之前声明outline-style属性。元素只有获得轮廓以后才能改变其轮廓的宽度。
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>demo(runoob.com)</title>
<style>
p.one
{
border:1px solid red;
outline-style:solid;
outline-width:thin;
}
p.two
{ outline-style:0;
outline-width:3px;
}
</style>
</head>
<body> <p class="one">记录一下</p>
<p class="two">记录一下</p>
运行结果
参考http://www.runoob.com/cssref/pr-outline-width.html;
最新文章
- .NET Mvc Razor也可以这样玩!
- 复旦大学2013--2014学年第一学期(13级)高等代数I期末考试第七大题解答
- Git是目前世界上最先进的分布式版本控制系统
- 数据库基本----SQL语句大全
- linux定时
- html5的自定义data-*属性和jquery的data()方法的使用示例
- 一个ajax实现表单上传文件的神器 formdata
- C#中几种数据库的大数据批量插入
- Android学习笔记-ImageView(图像视图)
- nginx配置文件作用介绍
- Java面试总结(二)
- Centos6.5使用yum安装svn
- Hibernate关联关系映射之一对一(主键关联)
- 【转】topcoder插件配置(傻瓜教程-图文版)
- hdoj1435 Stable Match(稳定婚姻问题)
- 【zookeeper】Apache curator的使用及zk分布式锁实现
- 干货:如何使用N点虚拟管理系统?
- Python【zip-map-filter】三个内置函数
- 【BZOJ】4894: 天赋
- 5.Longest Palindromic Substring---dp