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;

最新文章

  1. .NET Mvc Razor也可以这样玩!
  2. 复旦大学2013--2014学年第一学期(13级)高等代数I期末考试第七大题解答
  3. Git是目前世界上最先进的分布式版本控制系统
  4. 数据库基本----SQL语句大全
  5. linux定时
  6. html5的自定义data-*属性和jquery的data()方法的使用示例
  7. 一个ajax实现表单上传文件的神器 formdata
  8. C#中几种数据库的大数据批量插入
  9. Android学习笔记-ImageView(图像视图)
  10. nginx配置文件作用介绍
  11. Java面试总结(二)
  12. Centos6.5使用yum安装svn
  13. Hibernate关联关系映射之一对一(主键关联)
  14. 【转】topcoder插件配置(傻瓜教程-图文版)
  15. hdoj1435 Stable Match(稳定婚姻问题)
  16. 【zookeeper】Apache curator的使用及zk分布式锁实现
  17. 干货:如何使用N点虚拟管理系统?
  18. Python【zip-map-filter】三个内置函数
  19. 【BZOJ】4894: 天赋
  20. 5.Longest Palindromic Substring---dp

热门文章

  1. Lecture--9 Sorting
  2. UiAutomator环境配置
  3. 嵌入式CISC模型机设计
  4. nginx去掉url中的index.php
  5. pat1085. Perfect Sequence (25)
  6. win8.1x64下完美运行IE6
  7. linux cached过高导致性能变低
  8. &lt;Android 应用 之路&gt; 天气预报(四)
  9. linux 下 `dirname $0`(转)
  10. 用sql语句按周、按月、按季、按年统计