<!DOCTYPE html>
<html lang="en"><!-- InstanceBegin template="/Templates/cssref.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
	<!-- InstanceBeginEditable name="doctitle" -->
    <title>CSS outline-style Property - Tutorial Republic</title>
    <!-- InstanceEndEditable -->
    	<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="fb:admins" content="100001054961582" />
<meta property="fb:app_id" content="1404574483159557" />
<meta property="og:image" content="/lib/images/signature.png" />
<link rel="shortcut icon" type="image/x-icon" href="../favicon.png" />
<style>
html,body,h1,h2,h3,h4,h5,h6,p,blockquote,pre,img{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}
html,body{min-height:100%}
p{margin:0 0 12px}
ol,ul{margin:0 0 12px}
a,a:active,a:visited{outline:none;color:#1db79f;text-decoration:none}
a img{border:none;outline:none}
p code,table td:last-child code,.content ul li code,code.mark{padding:2px 4px;color:#333;background-color:#f1f1f1;border-radius:4px}
a code{color:inherit;background:none;padding:0}
table{border-collapse:collapse;border-spacing:0}
table td{vertical-align:top}
body{min-width:1300px;color:#414141;background:#fafafa;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;font-size:17px;line-height:1.7}
input,select,textarea,button,div,span,a{box-sizing:border-box}
h1,h2,h3,h4{color:#262626;margin:20px 0 10px;line-height:1.5;font-weight:600}
h1{font-size:34px;margin-top:17px}
h2{font-size:28px}
h3{font-size:22px}
.space{margin-bottom:25px!important}
.break{margin-bottom:15px!important}
.text-center{text-align:center!important}
.scroll{height:195px;overflow-y:scroll}
.scroll.large{height:245px}
.scroll.xlarge{height:290px}
.scroll.xxlarge{height:340px}
sup{font-size:13px}
h1 sup{background:#ec0000;border-radius:3px;padding:5px 10px;font-size:15px;color:#fff;position:relative;top:5px}
.leaderboard{padding-top:14px;position:relative;height:105px;overflow:hidden}
.intro-image img{display:block;padding:10px 0 25px;max-width:100%}
.clearfix::after{content:".";display:block;height:0;clear:both;visibility:hidden}
code,.code,.syntax,.green-box,.sky-box,.gray-box,.pink-box,.red-box,.at-rule,.codebox pre,.console-output,.command{font-size:16px;font-family:Consolas,Monaco,Courier,monospace}
.console-output{margin:15px 0}
.command{background:#f2f2f2;padding:16px 18px;margin:15px 0 25px;border-radius:3px}
hr{border:none;border-bottom:1px solid #e7e9ed;height:1px;margin:30px 0}
.summary,.topic{border:1px solid #eaeaea;border-width:1px 0;margin:20px 0;padding:10px 0;color:#8e9aa6;line-height:1.5}
h2.section-title span{display:inline-block;border-bottom:4px solid #c9d7e0;padding:0 50px 12px 0}
.wrapper{width:1300px;padding:0 15px;margin:0 auto}
.header{background:#23384e;padding:16px 0}
input.search{background:#fff;border:0 none;color:#807E7E;float:left;height:38px;line-height:26px;font-size:14px;margin:0 0 0 12px;outline:medium none;padding:6px 14px;width:500px;border-radius:2px;box-shadow:0 0 1px rgba(0,0,0,0.6);font-family:inherit}
.search-btn{color:rgba(0,0,0,.6);background:#ebebeb;border:none;outline:none;cursor:pointer;float:left;height:38px;line-height:46px;width:44px;display:block;margin-left:-2px;border-radius:0 2px 2px 0;box-shadow:0 0 1px rgba(0,0,0,0.7)}
.logo{width:304px}
.logo img{height:44px;margin:-3px 0;display:block}
.site-search{float:left;margin-left:100px}
.menu{background-color:#f5f5f5;box-shadow:0 1px 1px rgba(0,0,0,.15);position:relative;z-index:9}
.menu a{color:#666;display:inline-block;padding:0 10px;text-decoration:none;font-size:14px;font-weight:600;height:48px;line-height:48px}
.menu a:first-child{margin-left:-10px}
.menu a.tool-link{float:right;display:block;border-radius:30px;line-height:28px;position:relative;height:auto;top:9px;padding:0 12px;color:#1ebba3;border:1px double #1ebba3}
.fl,.logo{float:left}
.leftcolumn{width:240px;float:left;font-size:16px;color:#4f4f4f}
.centercolumn{width:850px;float:left}
.rightcolumn{width:180px;float:left}
.content{background:#fff;padding:15px 40px 20px;border:1px solid #dedede;border-top:none;border-radius:1px}
.sidebar{width:160px;float:left;padding-top:28px;margin-left:20px;position:relative}
.leftcolumn .segment{margin:16px 0 12px;position:relative;font-size:18px;font-weight:600;line-height:normal}
.leftcolumn a{color:#4f4f4f;font-size:16px;line-height:26px;display:block;border-bottom:1px solid transparent}
.leftcolumn ul{list-style:none;padding:0;margin:0}
.segment,.chapters,.chapters a{float:left;clear:both}
h1 code,h2 code,h3 code{font:inherit}
.color-box{margin:15px 0;padding-left:20px}
.note-box,.warning-box,.tip-box{padding:8px 8px 3px 26px}
.info-tab{float:left;margin-left:-23px}
.content ul li{margin-top:7px}
.extra{padding-top:5px}
.green-box,.sky-box,.gray-box,.red-box,.pink-box{color:#000;margin-top:15px;padding:10px;background-color:#f6f8fa;border:1px solid #d7e2ec}
.example{background:#f4f5f6;padding:3px;margin:15px 0}
.codebox{background:#fff;border:1px solid #ddd}
.codebox-title{height:41px;padding-left:12px;border-bottom:1px solid #ddd;background:#f5f5f5}
.codebox-title h4{margin:0;font-size:18px;line-height:40px;float:left;font-weight:600}
a.try-btn,a.download-btn{width:140px;height:40px;color:#333;font-size:15px;line-height:41px;font-weight:600;text-align:center;text-decoration:none;float:right;display:block;border-left:1px solid #ddd;background:rgba(27,31,35,0.08);box-sizing:border-box;font-family:Arial,sans-serif}
a.try-btn span{font-size:18px;line-height:normal}
.hide,.code-style,.box-size,.bottom-link,.footer,.code-style,.snippets,.report-error,.badge,.social,.ad-label,.mobile-only,ul.tree-menu li ul{display:none}
.skyscraper{width:160px;height:600px;overflow:hidden;margin-bottom:20px;background:#ebecf0}
.bottom-ad{margin-top:46px;padding:24px;position:relative;background:url(../lib/images/smooth-line.png) no-repeat center #f9f9f9}
.rectangle-left,.rectangle-right{min-width:336px;min-height:280px;overflow:hidden}
.fr,a.previous-page,a.next-page,.rectangle-right,.topic-nav{float:right}
a.previous-page,a.next-page{width:32px;height:32px;line-height:30px}
.shadow{background:#F7F8F9;padding:3px;margin:10px 0}
.syntax{color:#2f4959;padding:13px 18px;background:#F9F9FA;border:1px solid #ddd;font-size:15px}
code[class*="language-"],pre[class*="language-"]{color:#000;background:none;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;text-align:left;white-space:pre;word-break:normal;word-wrap:normal;line-height:1.5;tab-size:4;hyphens:none}
pre[class*="language-"]{position:relative;margin:.5em 0;overflow:visible;padding:0}
pre[class*="language-"]>code{position:relative;border-left:10px solid #358ccb;box-shadow:-1px 0 0 0 #358ccb,0 0 0 1px #dfdfdf;background-color:#fdfdfd;background-image:linear-gradient(transparent 50%,rgba(69,142,209,0.04) 50%);background-size:3em 3em;background-origin:content-box;background-attachment:local}
code[class*="language"]{max-height:inherit;height:inherit;padding:0 1em;display:block;overflow:auto}
:not(pre) > code[class*="language-"]{position:relative;padding:.2em;border-radius:.3em;color:#c92c2c;border:1px solid rgba(0,0,0,0.1);display:inline;white-space:normal}
pre[class*="language-"].line-numbers{padding-left:0}
pre[class*="language-"].line-numbers code{padding-left:3.8em}
pre[class*="language-"].line-numbers .line-numbers-rows{left:0}
pre[class*="language-"][data-line]{padding-top:0;padding-bottom:0;padding-left:0}
pre[data-line] code{position:relative;padding-left:4em}
pre .line-highlight{margin-top:0}
pre.line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber;white-space:pre-wrap!important}
pre.line-numbers > code{position:relative;white-space:inherit}
.line-numbers-rows,.codebox pre.inactive{display:none}
.codebox pre.syntax-highlighter{margin:0;padding:0;overflow:auto}
pre.line-numbers .line-numbers-rows{border-right:3px solid #6CE26C}
.codebox pre.syntax-highlighter > code{box-shadow:none!important;padding-left:3.8em;background-image:linear-gradient(transparent 50%,#F8F8F8 50%);font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace!important;font-size:16px;line-height:1.5;overflow-wrap:break-word}
.codebox pre.syntax-highlighter,.codebox pre.syntax-highlighter code{border:none;width:100%;box-sizing:border-box}
pre.line-numbers code,pre.line-numbers .line-numbers-rows{padding-top:2px;padding-bottom:2px}
.preview-box{padding:15px;text-align:center;cursor:pointer;overflow:hidden;background:#FFF;border:1px solid #e6e6e6}
.preview-box a,.preview-box img{display:block;margin:0 auto}
.download-box{text-align:center;padding:20px 0;margin:20px 0 10px}
.output-box{border-color:#d4d4d4;border-style:solid;border-width:1px 0;padding:5px 15px;overflow:hidden;background:#fff;margin:10px 0}
.demo-box{margin-top:15px}
.subhead{border-bottom:3px solid #DCE3EB;margin-bottom:15px;padding-bottom:10px}
table.data,table.description{width:100%;font-size:92%}
table.data th{color:#000;padding:8px 7px;text-align:left;font-size:15px;background:#F8F8F8}
table.data td{color:#484848;padding:5px 7px;background:#fff}
table.data th,table.data td{vertical-align:top;border:1px solid #DCE3EB}
table.data tr.section th,table.data td.section{font-size:15px;background:#f0f4f7}
table.description th{width:150px}
table.no-wrap tr td:first-child{white-space:nowrap}
.topic-nav{padding-right:5px;color:#d0d0d0}
.topic-nav a{padding:0 15px;margin:0 0 0 5px;position:relative;display:inline-block}
.topic-nav a::after{font-size:24px;position:absolute;line-height:22px}
.topic-nav a:first-child{margin:0 5px 0 0}
.topic-nav a:first-child::after{content:'\00AB';left:-5px}
.topic-nav a:last-child::after{content:'\00BB';right:-5px}
@media screen and (max-width: 1280px) {
body{min-width:1260px}
.wrapper{width:1260px}
.leftcolumn{width:230px}
.centercolumn{width:820px}
.preview-box img{max-width:100%;height:auto}
}
@media screen and (max-width: 800px) {
body{min-width:100%;max-width:100%;padding-top:46px}
.wrapper{width:100%;padding:0}
.header{height:46px;padding:5px 0;position:fixed;top:0;left:0;right:0;width:100%;z-index:99}
.logo{width:auto;display:block;padding:6px 0 0 60px;position:absolute;left:0;z-index:100}
.logo img{height:30px}
.menu{width:100%;padding-left:12px;padding-right:12px;overflow-x:auto;white-space:nowrap}
.centercolumn{width:100%;float:none}
.content{padding:10px;border-width:0 0 1px 0}
.content img{max-width:100%;height:auto}
.skyscraper{display:inline-block}
.shadow,.example,.console-output,.content pre{max-width:100%;overflow-x:auto}
.codebox-title{position:relative}
.codebox.multi-style-mode pre{padding-top:7px;margin-top:36px;border-top:1px solid #ddd}
.bottom-ad{height:auto;background:none;padding:30px 0 0;margin:40px 0 0;text-align:center;position:relative}
.rectangle-left,.rectangle-right{float:none;display:inline-block;margin:10px auto;background:#EDEEF2}
.leftcolumn,.footer,.social,.site-search,.code-style,.menu a.tool-link,.backdrop{display:none}
.summary,.topic{padding:5px 0;margin:10px 0}
.leftcolumn,.centercolumn,.rightcolumn,.sidebar{float:none}
.header,.menu,.centercolumn,.footer,.appeal-text{width:100%}
a.try-btn,a.download-btn{width:130px}
.native-unit{margin-bottom:30px}
.rightcolumn,.sidebar{margin: 25px auto 0}
.overview{padding-right:0}
.scroll-pane{overflow-x:auto}
table.data{min-width:480px}
table.data pre{display:inline;white-space:normal}
table tr th,table tr td{width:auto!important}
.preview-box{padding:6px}
.leaderboard{margin:20px 0}
h1{font-size:30px}
h2{font-size:24px}
h3{font-size:20px}
.codebox pre.syntax-highlighter{overflow-x:auto}
.codebox pre.syntax-highlighter > code{min-width:614px;height:auto;overflow-x:hidden}
}
@media screen and (min-width: 801px) {
.site-search,.leftcolumn,.social{display:block!important}
.backdrop{display:none!important}
.hide-scroll{overflow-x:hidden!important}
}
.menu a.old-version{height:21px;font-size:13px;line-height:17px;border:1px double;border-radius:40px;margin-right:10px}</style>
<script>
    (function(){
        var bsa_optimize=document.createElement('script');
        bsa_optimize.type='text/javascript';
        bsa_optimize.async=true;
        bsa_optimize.src='https://cdn4.buysellads.net/pub/tutorialrepublic.js';
        (document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa_optimize);
    })();
</script>
    
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    
	<script async src="https://www.googletagmanager.com/gtag/js?id=UA-40117907-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-40117907-1');
</script></head>
<body><div onClick="this.style.display='none';"><div style="display:block; clear:both; height:1.5em; padding:0.5em;">&nbsp;</div><div style="position:absolute; top:0px; left:0px; display:block; position:fixed; width:100%; padding:0.5em; line-height:1.5em; background-color:#BE0000; color:#FFF; font-family:Consolas, 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', Monaco, 'Courier New', monospace; font-size:13px; z-index:2147483640; cursor:pointer; " title="click to hide message">Please note, this is a STATIC archive of website www.tutorialrepublic.com from 10 Sep 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.</div></div>
    <!--Header-->
    
<div class="header">
    <div class="wrapper clearfix">
        <button type="button" class="open-menu mobile-only"><i class="icon-menu"></i></button>
        <div class="logo">
            <a href="../index.html"><img src="../lib/images/logo.svg" alt="TutorialRepublic" /></a>
        </div>
        <div class="site-search">
            <form inert action="https://www.google.com/search" method="get" target="_blank" class="clearfix">
                <input type="hidden" value="www.tutorialrepublic.com" name="sitesearch"  placeholder="disabled" disabled="disabled" title="form boxes are disabled in cached version of the site" value="Disabled" style="opacity:0.3;" />
                <input type="text" name="q" placeholder="disabled" id="searchInput" class="search"  placeholder="disabled" disabled="disabled" title="form boxes are disabled in cached version of the site" value="Disabled" style="opacity:0.3;" />
                <button type="submit" class="search-btn"><span class="icon-search"></span></button>
            </form>
        </div>
        <div class="social">                
            <a href="https://www.facebook.com/tutorialrepublic" target="_blank" title="Join us on Facebook"><i class="icon-facebook"></i></a>
            <a href="https://twitter.com/tutrepublic" target="_blank" title="Follow us on Twitter"><i class="icon-twitter"></i></a>
            <a href="../contact-us.php.html" target="_blank" title="Send us an Email"><i class="icon-mail"></i></a>
        </div>
        <button type="button" class="open-search mobile-only">
            <i class="icon-search"></i>
        </button>
    </div>    
</div>
<div class="menu">
    <div class="wrapper">
        <a href="../index.html" title="Home Page">HOME</a>
        <a href="../html-tutorial/html-introduction.php.html" title="HTML Tutorial">HTML5</a>            
        <a href="../css-tutorial/index.html" title="CSS Tutorial">CSS3</a>
        <a href="../javascript-tutorial/index.html" title="JavaScript Tutorial">JAVASCRIPT</a>
        <a href="../jquery-tutorial/index.html" title="jQuery Tutorial">JQUERY</a>
        <a href="../twitter-bootstrap-tutorial/index.html" title="Bootstrap 5 Tutorial">BOOTSTRAP5</a>
		<a href="https://www.tutorialrepublic.com/twitter-bootstrap-4-tutorial/" class="old-version" title="Bootstrap 4.6 Tutorial">v4.6</a>
        <a href="../php-tutorial/index.html" title="PHP Tutorial">PHP7</a> 
        <a href="../sql-tutorial/index.html" title="SQL Tutorial">SQL</a>
        <a href="../references.php.html" title="Web References">REFERENCES</a>
        <a href="../practice-examples.php.html" title="Practice Examples and Demos">EXAMPLES</a>
        <a href="../faq.php.html" title="Frequently Asked Questions and Answers">FAQ</a>
        <a href="../snippets/gallery.php.html" title="Bootstrap Code Snippets" target="_blank">SNIPPETS</a>
        <a href="../codelab.php.html" class="tool-link" target="_blank">Online HTML Editor</a>
    </div>        
</div>    <!--End:Header-->
    <div class="wrapper clearfix">
        <div class="leftcolumn" id="myNav">
		
        <div class="segment"><span>CSS</span> PROPERTIES</div>
<div class="toggle-tree-menu">
	<span class="expand-all">Expand All</span>
	<span class="separator">|</span> 
	<span class="collapse-all">Collapse All</span>
</div>
<ul class="chapters tree-menu code">
	<li><a href="css3-align-content-property.php.html">align-content</a></li>
    <li><a href="css3-align-items-property.php.html">align-items</a></li>
    <li><a href="css3-align-self-property.php.html">align-self</a></li>
    <li class="tree"><span class="shorthand">animation</span>
        <ul>
            <li><a href="css3-animation-property.php.html">animation</a></li>
            <li><a href="css3-animation-delay-property.php.html">animation-delay</a></li>
            <li><a href="css3-animation-direction-property.php.html">animation-direction</a></li>
            <li><a href="css3-animation-duration-property.php.html">animation-duration</a></li>
            <li><a href="css3-animation-fill-mode-property.php.html">animation-fill-mode</a></li>
            <li><a href="css3-animation-iteration-count-property.php.html">animation-iteration-count</a></li>
            <li><a href="css3-animation-name-property.php.html">animation-name</a></li>
            <li><a href="css3-animation-play-state-property.php.html">animation-play-state</a></li>
            <li><a href="css3-animation-timing-function-property.php.html">animation-timing-function</a></li>              
        </ul>
    </li>
    <li><a href="css3-backface-visibility-property.php.html">backface-visibility</a></li>
    <li class="tree"><span class="shorthand">background</span>
        <ul>
            <li><a href="css-background-property.php.html">background</a></li>
            <li><a href="css-background-attachment-property.php.html">background-attachment</a></li>
            <li><a href="css3-background-clip-property.php.html">background-clip</a></li>
            <li><a href="css-background-color-property.php.html">background-color</a></li>
            <li><a href="css-background-image-property.php.html">background-image</a></li>
            <li><a href="css3-background-origin-property.php.html">background-origin</a></li>
            <li><a href="css-background-position-property.php.html">background-position</a></li>
            <li><a href="css-background-repeat-property.php.html">background-repeat</a></li>
			<li><a href="css3-background-size-property.php.html">background-size</a></li>
        </ul>
    </li>
    <li class="tree"><span class="shorthand">border</span>
        <ul>
            <li><a href="css-border-property.php.html">border</a></li>
            <li><a href="css-border-bottom-property.php.html">border-bottom</a></li>
            <li><a href="css-border-bottom-color-property.php.html">border-bottom-color</a></li>
            <li><a href="css3-border-bottom-left-radius-property.php.html">border-bottom-left-radius</a></li>
            <li><a href="css3-border-bottom-right-radius-property.php.html">border-bottom-right-radius</a></li>       
            <li><a href="css-border-bottom-style-property.php.html">border-bottom-style</a></li>
            <li><a href="css-border-bottom-width-property.php.html">border-bottom-width</a></li>
            <li><a href="css-border-collapse-property.php.html">border-collapse</a></li>
            <li><a href="css-border-color-property.php.html">border-color</a></li>
            <li><a href="css3-border-image-property.php.html">border-image</a></li>
            <li><a href="css3-border-image-outset-property.php.html">border-image-outset</a></li>
            <li><a href="css3-border-image-repeat-property.php.html">border-image-repeat</a></li>
            <li><a href="css3-border-image-slice-property.php.html">border-image-slice</a></li>
            <li><a href="css3-border-image-source-property.php.html">border-image-source</a></li>
            <li><a href="css3-border-image-width-property.php.html">border-image-width</a></li>
            <li><a href="css-border-left-property.php.html">border-left</a></li>
            <li><a href="css-border-left-color-property.php.html">border-left-color</a></li>
            <li><a href="css-border-left-style-property.php.html">border-left-style</a></li>
            <li><a href="css-border-left-width-property.php.html">border-left-width</a></li>
            <li><a href="css3-border-radius-property.php.html">border-radius</a></li>
            <li><a href="css-border-right-property.php.html">border-right</a></li>
            <li><a href="css-border-right-color-property.php.html">border-right-color</a></li>
            <li><a href="css-border-right-style-property.php.html">border-right-style</a></li>
            <li><a href="css-border-right-width-property.php.html">border-right-width</a></li>
            <li><a href="css-border-spacing-property.php.html">border-spacing</a></li>
            <li><a href="css-border-style-property.php.html">border-style</a></li>
            <li><a href="css-border-top-property.php.html">border-top</a></li>
            <li><a href="css-border-top-color-property.php.html">border-top-color</a></li>
            <li><a href="css3-border-top-left-radius-property.php.html">border-top-left-radius</a></li>
            <li><a href="css3-border-top-right-radius-property.php.html">border-top-right-radius</a></li>
            <li><a href="css-border-top-style-property.php.html">border-top-style</a></li>
            <li><a href="css-border-top-width-property.php.html">border-top-width</a></li>
            <li><a href="css-border-width-property.php.html">border-width</a></li>  
        </ul>
    </li>
    <li><a href="css-bottom-property.php.html">bottom</a></li>
    <li><a href="css3-box-shadow-property.php.html">box-shadow</a></li>
    <li><a href="css3-box-sizing-property.php.html">box-sizing</a></li>
    <li><a href="css-caption-side-property.php.html">caption-side</a></li>
    <li><a href="css-clear-property.php.html">clear</a></li>
    <li><a href="css-clip-property.php.html">clip</a></li>
    <li><a href="css-color-property.php.html">color</a></li>
    <li class="tree"><span class="shorthand">column-*</span>
        <ul>
        	<li><a href="css3-column-count-property.php.html">column-count</a></li>
    		<li><a href="css3-column-fill-property.php.html">column-fill</a></li>
    		<li><a href="css3-column-gap-property.php.html">column-gap</a></li>
            <li><a href="css3-column-rule-property.php.html">column-rule</a></li>
            <li><a href="css3-column-rule-color-property.php.html">column-rule-color</a></li>
            <li><a href="css3-column-rule-style-property.php.html">column-rule-style</a></li>
            <li><a href="css3-column-rule-width-property.php.html">column-rule-width</a></li>
            <li><a href="css3-column-span-property.php.html">column-span</a></li>
    		<li><a href="css3-column-width-property.php.html">column-width</a></li>
    		<li><a href="css3-columns-property.php.html">columns</a></li>
        </ul>
    </li>
    <li><a href="css-content-property.php.html">content</a></li>
    <li><a href="css-counter-increment-property.php.html">counter-increment</a></li>
    <li><a href="css-counter-reset-property.php.html">counter-reset</a></li>
    <li><a href="css-cursor-property.php.html">cursor</a></li>
    <li><a href="css-direction-property.php.html">direction</a></li>
    <li><a href="css-display-property.php.html">display</a></li>
    <li><a href="css-empty-cells-property.php.html">empty-cells</a></li>
    <li class="tree"><span class="shorthand">flex</span>
        <ul>
            <li><a href="css3-flex-property.php.html">flex</a></li>
            <li><a href="css3-flex-basis-property.php.html">flex-basis</a></li>
            <li><a href="css3-flex-direction-property.php.html">flex-direction</a></li>
            <li><a href="css3-flex-flow-property.php.html">flex-flow</a></li>
            <li><a href="css3-flex-grow-property.php.html">flex-grow</a></li>
            <li><a href="css3-flex-shrink-property.php.html">flex-shrink</a></li>
            <li><a href="css3-flex-wrap-property.php.html">flex-wrap</a></li>
        </ul>
    </li>
    <li><a href="css-float-property.php.html">float</a></li>
    <li class="tree"><span class="shorthand">font</span>
        <ul>
            <li><a href="css-font-property.php.html">font</a></li>
            <li><a href="css-font-family-property.php.html">font-family</a></li>
            <li><a href="css-font-size-property.php.html">font-size</a></li>
            <li><a href="css3-font-size-adjust-property.php.html">font-size-adjust</a></li>
            <li><a href="css3-font-stretch-property.php.html">font-stretch</a></li>
            <li><a href="css-font-style-property.php.html">font-style</a></li>
            <li><a href="css-font-variant-property.php.html">font-variant</a></li>
            <li><a href="css-font-weight-property.php.html">font-weight</a></li>
        </ul>
    </li>
    <li><a href="css-height-property.php.html">height</a></li>
    <li><a href="css3-justify-content-property.php.html">justify-content</a></li>
    <li><a href="css-left-property.php.html">left</a></li>
    <li><a href="css-letter-spacing-property.php.html">letter-spacing</a></li>
    <li><a href="css-line-height-property.php.html">line-height</a></li>
    <li class="tree"><span class="shorthand">list-style</span>
        <ul>
            <li><a href="css-list-style-property.php.html">list-style</a></li>
            <li><a href="css-list-style-image-property.php.html">list-style-image</a></li>
            <li><a href="css-list-style-position-property.php.html">list-style-position</a></li>
            <li><a href="css-list-style-type-property.php.html">list-style-type</a></li>
        </ul>
    </li>
    <li class="tree"><span class="shorthand">margin</span>
        <ul>
            <li><a href="css-margin-property.php.html">margin</a></li>
            <li><a href="css-margin-bottom-property.php.html">margin-bottom</a></li>
            <li><a href="css-margin-left-property.php.html">margin-left</a></li>
            <li><a href="css-margin-right-property.php.html">margin-right</a></li>
            <li><a href="css-margin-top-property.php.html">margin-top</a></li>
        </ul>
    </li>
    <li><a href="css-max-height-property.php.html">max-height</a></li>
    <li><a href="css-max-width-property.php.html">max-width</a></li>
    <li><a href="css-min-height-property.php.html">min-height</a></li>
    <li><a href="css-min-width-property.php.html">min-width</a></li>
    <li><a href="css-opacity-property.php.html">opacity</a></li>
    <li><a href="css3-order-property.php.html">order</a></li>
    <li class="tree"><span class="shorthand">outline</span>
        <ul>
            <li><a href="css-outline-property.php.html">outline</a></li>
            <li><a href="css-outline-color-property.php.html">outline-color</a></li>
            <li><a href="css3-outline-offset-property.php.html">outline-offset</a></li>
            <li><a href="css-outline-style-property.php.html">outline-style</a></li>
            <li><a href="css-outline-width-property.php.html">outline-width</a></li>
        </ul>
    </li>
    <li><a href="css-overflow-property.php.html">overflow</a></li>
    <li><a href="css-overflow-x-property.php.html">overflow-x</a></li>
    <li><a href="css-overflow-y-property.php.html">overflow-y</a></li>
    <li class="tree"><span class="shorthand">padding</span>
        <ul>
            <li><a href="css-padding-property.php.html">padding</a></li>
            <li><a href="css-padding-bottom-property.php.html">padding-bottom</a></li>
            <li><a href="css-padding-left-property.php.html">padding-left</a></li>
            <li><a href="css-padding-right-property.php.html">padding-right</a></li>
            <li><a href="css-padding-top-property.php.html">padding-top</a></li>
        </ul>
    </li>
    <li class="tree"><span class="shorthand">page-break-*</span>
        <ul>
            <li><a href="css-page-break-after-property.php.html">page-break-after</a></li>
            <li><a href="css-page-break-before-property.php.html">page-break-before</a></li>
            <li><a href="css-page-break-inside-property.php.html">page-break-inside</a></li>
        </ul>
    </li>
    <li><a href="css3-perspective-property.php.html">perspective</a></li>
    <li><a href="css3-perspective-origin-property.php.html">perspective-origin</a></li>
    <li><a href="css-position-property.php.html">position</a></li>
    <li><a href="css-quotes-property.php.html">quotes</a></li>
    <li><a href="css3-resize-property.php.html">resize</a></li>
    <li><a href="css-right-property.php.html">right</a></li>
	<li><a href="css3-tab-size-property.php.html">tab-size</a></li>
    <li><a href="css-table-layout-property.php.html">table-layout</a></li>
    <li class="tree"><span class="shorthand">text-*</span>
        <ul>
            <li><a href="css-text-align-property.php.html">text-align</a></li>
            <li><a href="css3-text-align-last-property.php.html">text-align-last</a></li>
            <li><a href="css-text-decoration-property.php.html">text-decoration</a></li>
            <li><a href="css3-text-decoration-color-property.php.html">text-decoration-color</a></li>
            <li><a href="css3-text-decoration-line-property.php.html">text-decoration-line</a></li>
            <li><a href="css3-text-decoration-style-property.php.html">text-decoration-style</a></li>
            <li><a href="css-text-indent-property.php.html">text-indent</a></li>
            <li><a href="css3-text-justify-property.php.html">text-justify</a></li>
            <li><a href="css3-text-overflow-property.php.html">text-overflow</a></li>
            <li><a href="css3-text-shadow-property.php.html">text-shadow</a></li>
            <li><a href="css-text-transform-property.php.html">text-transform</a></li>
        </ul>
    </li>
    <li><a href="css-top-property.php.html">top</a></li>
    <li class="tree"><span class="shorthand">transform</span>
        <ul>
            <li><a href="css3-transform-property.php.html">transform</a></li>
            <li><a href="css3-transform-origin-property.php.html">transform-origin</a></li>
            <li><a href="css3-transform-style-property.php.html">transform-style</a></li>
        </ul>
    </li>
    <li class="tree"><span class="shorthand">transition</span>
        <ul>
            <li><a href="css3-transition-property.php.html">transition</a></li>
            <li><a href="css3-transition-delay-property.php.html">transition-delay</a></li>
            <li><a href="css3-transition-duration-property.php.html">transition-duration</a></li>
            <li><a href="css3-transition-property-property.php.html">transition-property</a></li>
            <li><a href="css3-transition-timing-function-property.php.html">transition-timing-function</a></li>
        </ul>
    </li>
    <li><a href="css-unicode-bidi-property.php.html">unicode-bidi</a></li>
    <li><a href="css-vertical-align-property.php.html">vertical-align</a></li>
    <li><a href="css-visibility-property.php.html">visibility</a></li>
    <li><a href="css-white-space-property.php.html">white-space</a></li>
    <li><a href="css-width-property.php.html">width</a></li>
	<li><a href="css3-word-break-property.php.html">word-break</a></li>
    <li><a href="css-word-spacing-property.php.html">word-spacing</a></li>
    <li><a href="css3-word-wrap-property.php.html">word-wrap</a></li>
    <li><a href="css-z-index-property.php.html">z-index</a></li>
</ul>
<div class="segment"><span>CSS</span> AT-RULES</div>
<ul  class="chapters tree-menu">
    <li><a href="css-charset-rule.php.html">@charset</a></li>
    <li><a href="css-font-face-rule.php.html">@font-face</a></li>
    <li><a href="css-import-rule.php.html">@import</a></li>
	<li><a href="css3-keyframes-rule.php.html">@keyframes</a></li>
    <li><a href="css-media-rule.php.html">@media</a></li>
    <li><a href="css-page-rule.php.html">@page</a></li>
    
</ul>        
                </div>
        <div class="centercolumn">
            <!--Text Content-->
            <div class="content">
                <div class="leaderboard">

    <div class="ad-label">Advertisements</div>

    <div class="ad-container">
        <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
        <!-- Responsive Leaderboard -->
        <ins class="adsbygoogle"
                style="display:block;max-width:728px;width:100%;height:90px"
                data-ad-client="ca-pub-9107540490929984"
                data-ad-slot="4302666817"></ins>
        <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
        </script>
    </div>

    <!-- ABR Leaderboard -->
    <div id="bsa-zone_1579648332258-0_123456"></div>

</div>                <!-- InstanceBeginEditable name="main_content" -->
                <h1>CSS <code>outline-style</code> Property</h1>
                <p class="topic">Topic: <a href="css3-properties.php.html">CSS3 Properties Reference</a><span class="topic-nav"><a href="css3-outline-offset-property.php.html">Prev</a>|<a href="css-outline-width-property.php.html">Next</a></span></p>
                <h2>Description</h2>
                <p>The <code>outline-style</code> CSS property sets the style of the outline of an element. However, in many cases the shorthand propertiey <a href="css-outline-property.php.html"><code>outline</code></a> is more convenient to use and preferable.</p>
                <p>The following table summarizes the usages context and the version history of this property.</p>
                <div class="shadow">
                    <table class="data description">
                        <tr>
                            <th>Default value:</th>
                            <td><code>none</code></td>
                        </tr>
                        <tr>
                            <th>Applies to:</th>
                            <td>All elements</td>
                        </tr>
                        <tr>
                            <th>Inherited:</th>
                            <td>No</td>
                        </tr>
						<tr>
							<th>Animatable:</th>
							<td>No. <a href="css-animatable-properties.php.html"><i>See</i> <em>animatable properties</em></a>.</td>
						</tr>
                        <tr>
                            <th>Version:</th>
                            <td>CSS 2, 3</td>
                        </tr>
                    </table>
                </div>	
                <hr />
                <h2>Syntax</h2>
                <p>The syntax of the property is given with:</p>
                <div class="shadow">
                    <div class="syntax">
                        <table>
                            <tr>
                                <td><pre class="property">outline-style: </pre></td>
                                <td><span class="keyword">none</span> | <span class="keyword">dotted</span> |
                                <span class="keyword">dashed</span> | <span class="keyword">solid</span> | <span class="keyword">double</span> |
                                <span class="keyword">groove</span> | <span class="keyword">ridge</span> | <span class="keyword">inset</span> | <span class="keyword">outset</span> | <a href="../definitions.php.html#initial">initial</a> | <a href="../definitions.php.html#inherit">inherit</a></td>
                            </tr>
                        </table>
                    </div>
                </div>
                <p>The example below shows the <code>outline-style</code> property in action.</p>
                <div class="example">
                    <div class="codebox">
                        <div class="codebox-title"><h4>Example</h4><a href="../codelab.php%3Ftopic=css&amp;file=outline-style-property.html" target="_blank" class="try-btn" title="Try this code using online Editor">Try this code <span>&raquo;</span></a></div>
                        <pre class="syntax-highlighter line-numbers"><code class="language-css">p {
    outline-style: double;
    outline-width: 5px;
}</code></pre>
                    </div>
                </div>
                <hr />
                <h2>Property Values</h2>
                <p>The following table describes the values of this property.</p>
                <div class="shadow">
                    <table class="data">
                        <tr>
                            <th style="width:60px;">Value</th>
                            <th>Description</th>
                        </tr>
                        <tr>
                            <td><code>none</code></td>
                            <td>No outline will be displayed. This is default value.</td>
                        </tr>
                        <tr>
                            <td><code>dotted</code></td>
                            <td>Displays the outline as a series of dots.</td>
                        </tr>
                        <tr>
                            <td><code>dashed</code></td>
                            <td>Displays the outline as a series of short line segments i.e. dashes.</td>
                        </tr>
                        <tr>
                            <td><code>solid</code></td>
                            <td>Displays the outline as a single solid line.</td>
                        </tr>
                        <tr>
                            <td><code>double</code></td>
                            <td>Displays the outline as a two parallel solid lines with some space between them. The sum of the two lines and the space between them equals the value of <a href="css-outline-width-property.php.html"><code>outline-width</code></a>.</td>
                        </tr>
                        <tr>
                            <td><code>groove</code></td>
                            <td>Displays the outline as it were carved into the canvas. It gives the impression of 3D that is typically achieved by creating a shadow from two colors that are slightly lighter and darker than the <a href="css-outline-color-property.php.html"><code>outline-color</code></a>.</td>
                        </tr>
                        <tr>
                            <td><code>ridge</code></td>
                            <td>Displays the outline that has the opposite effect of <code>groove</code>. It also gives the impression of 3D, the outline looks as though it were coming out of the&thinsp;canvas.</td>
                        </tr>
                        <tr>
                            <td><code>inset</code></td>
                            <td>Displays the outline that makes the element's box look as though it were embedded in the canvas. It gives the impression of 3D that is typically achieved by creating a shadow from two colors that are slightly lighter and darker than the <a href="css-outline-color-property.php.html"><code>outline-color</code></a>.</td>
                        </tr>
                        <tr>
                            <td><code>outset</code></td>
                            <td>Displays the outline that has the opposite effect of <code>inset</code>. It also gives the impression of 3D, the outline makes the box look as though it were coming out of the canvas.</td>
                        </tr>
						<tr>
							<td><code>initial</code></td>
							<td>Sets this property to its default value.</td>
						</tr>
                        <tr>
                            <td><code>inherit</code></td>
                            <td>If specified, the associated element takes the <a href="../definitions.php.html#computed-value">computed value</a> of its parent element <code>outline-style</code> property.</td>
                        </tr>
                    </table>
                </div>
                <hr />
                <h2>Browser Compatibility</h2>
                <p>The <code>outline-style</code> property is supported in all major modern browsers.</p>
                <div class="shadow">
                    <div class="support">
                        <table>
                            <tr>
                                <td><img src="../lib/images/browsers-icon.png" alt="Browsers Icon" /></td>
                                <td>
                                    <h2>Basic Support&mdash;</h2>
                                    <ul>
                                        <li>Firefox <span>1.5+</span></li>
                                        <li>Google Chrome <span>1+</span></li>
                                        <li>Internet Explorer <span>8+</span></li>
                                        <li>Apple Safari <span>1.2+</span></li>
                                        <li>Opera <span>7+</span></li>
                                    </ul>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <hr />
                <h2>Further Reading</h2>
                <p>See tutorial on: <a href="../css-tutorial/css-outline.php.html">CSS outline</a>, <a href="../css-tutorial/css-border.php.html">CSS Border</a>.</p>
                <p>Related properties: <a href="css-outline-property.php.html"><code>outline</code></a>, <a href="css-outline-color-property.php.html"><code>outline-color</code></a>, <a href="css-outline-width-property.php.html"><code>outline-width</code></a>.</p>
                <!--Bottom Navigation-->
                <div class="bottom-link clearfix">
                    <a href="css3-outline-offset-property.php.html" class="previous-page-bottom">Previous Page</a>
                    <a href="css-outline-width-property.php.html" class="next-page-bottom">Next Page</a>
                </div>
                <!--End:Bottom Navigation--> 
          		<!-- InstanceEndEditable -->
                <div class="bottom-ad clearfix">

     <div class="ad-label">Advertisements</div>

     <!--Rectangle Left-->
     <div class="rectangle-left fl">
          <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
          <!-- Large Rectangle Left -->
          <ins class="adsbygoogle"
               style="display:inline-block;width:336px;height:280px"
               data-ad-client="ca-pub-9107540490929984"
               data-ad-slot="8162953958"></ins>
          <script>
          (adsbygoogle = window.adsbygoogle || []).push({});
          </script>
     </div>
     <!--End:Rectangle Left-->

     <!--Rectangle Right-->
     <div class="rectangle-right fr">
          <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
          <!-- Large Rectangle Right -->
          <ins class="adsbygoogle"
               style="display:inline-block;width:336px;height:280px"
               data-ad-client="ca-pub-9107540490929984"
               data-ad-slot="3324015654"></ins>
          <script>
          (adsbygoogle = window.adsbygoogle || []).push({});
          </script>
     </div>
     <!--End:Rectangle Right-->

</div>

            </div>
            <!--End:Text Content-->
            <!--Feedback Form-->
			<div class="snippets">
	<a href="../snippets/gallery.php.html" target="_blank"><img src="../lib/images/bootstrap-code-snippets.png" alt="Bootstrap UI Design Templates" /></a>
</div>            <!--End:Feedback Form-->
        </div>        
        <div class="rightcolumn">
            <div class="sidebar">
    
    <div class="ad-label">Advertisements</div>

    <div class="skyscraper primary">
        <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
        <!-- Premium Skyscraper -->
        <ins class="adsbygoogle"
            style="display:inline-block;width:160px;height:600px"
            data-ad-client="ca-pub-9107540490929984"
            data-ad-slot="4376141825"></ins>
        <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
        </script>
    </div>

    <div class="skyscraper">
     <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
     <!-- Bottom Skyscraper -->
     <ins class="adsbygoogle"
          style="display:inline-block;width:160px;height:600px"
          data-ad-client="ca-pub-9107540490929984"
          data-ad-slot="3387984471"></ins>
     <script>
     (adsbygoogle = window.adsbygoogle || []).push({});
     </script>
</div>
</div>        </div>
    </div>
    <!--Footer-->
	<!--Footer-->
<div class="footer">
    <div class="appeal">
        <div class="wrapper">
            <p>Is this website helpful to you? Please give us a
            <a href="../like.php.html" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=250,width=600,top=150, left='+((screen.width/2)-300));return false;">like</a>,
            or share your <a href="../contact-us.php.html" target="_blank">feedback</a><em> to help us improve</em>.
            Connect with us on <a href="https://www.facebook.com/tutorialrepublic" target="_blank">Facebook</a> and <a href="https://twitter.com/tutrepublic" target="_blank">Twitter</a> for the latest updates.</p>               
        </div>
    </div>
    <div class="footer-inner">
        <div class="wrapper clearfix">                
            <div class="link-box">
                <h4>About Us</h4>
                <div class="clearfix">
                    <a href="../about-us.php.html">Our Story</a>                    
                    <a href="../terms-of-use.php.html">Terms of Use</a>
                    <a href="../privacy-policy.php.html">Privacy Policy</a>                    
                </div>
            </div>
            <div class="link-box">
                <h4>Contact</h4>
                <div class="clearfix">
                    <a href="../contact-us.php.html">Contact Us</a>                    
                    <a href="../contact-us.php.html" target="_blank">Report Error</a>
                    <a href="../advertise-with-us.php.html">Advertise</a>                    
                </div>
            </div>
            <div class="tool-box">
                <h4>Interactive Tools</h4>
                <div class="tools-list clearfix" id="tools">
                    <a href="../font-awesome-icons-classes.php.html" target="_blank">Font Awesome Icon Search Utility</a>
                    <a href="../html-formatter.php.html" target="_blank">HTML Formatter</a>
                    <a href="../faq/what-is-the-maximum-length-of-title-and-meta-description-tag.php.html">Title &amp; Meta Length Calculator</a>
                    <a href="../html-reference/html-color-picker.php.html">HTML Color Picker</a>
                    <a href="../twitter-bootstrap-button-generator.php.html" target="_blank">Bootstrap Button Generator</a>
                    <a href="../codelab.php%3Ftopic=sql&amp;file=select-all.html" target="_blank">SQL Playground</a>
                    <a href="../bootstrap-icons-classes.php.html" target="_blank">Bootstrap Icon Finder</a>
                    <a href="../codelab.php%3Ftopic=html&amp;file=hello-world.html" target="_blank">HTML Editor</a>
                </div>
            </div>
            <div class="footer-logo">
                <p><img src="../lib/images/logo.svg" alt="TutorialRepublic" /><p>
					<div>
						<a href="https://www.buymeacoffee.com/tutrepublic" class="bmc-btn" rel="nofollow" target="_blank">
    						<img src="../lib/images/bmc-btn.png" alt="BMC" />
						</a>
					</div>
            </div>
        </div>
    </div>           
        <div class="bottom-strip">
        <div class="wrapper">
            <div class="notice">Copyright &copy; 2022 Tutorial Republic. All Rights Reserved.</div>
            <div class="social-media">
                <em>Share This:</em>
                <a href="https://facebook.com/sharer.php?u=https://www.tutorialrepublic.com%2Fcss-reference%2Fcss-outline-style-property.php" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600,top=150, left='+((screen.width/2)-300));return false;" title="Facebook"><i class="icon-facebook"></i></a>
                <a href="css-outline-style-property.php.html#" id="tweet-btn" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600,top=150, left='+((screen.width/2)-300));return false;" title="Twitter"><i class="icon-twitter"></i></a>
                <a href="css-outline-style-property.php.html#" id="email-btn" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600,top=150, left='+((screen.width/2)-300));return false;" rel="noreferrer" title="Gmail"><i class="icon-mail"></i></a>
            </div>
        </div>            
    </div>
    <script>
        var title = document.title.replace('- Tutorial Republic', '');
        document.getElementById('tweet-btn').href = 'https://twitter.com/share?text=' + title + '- &url=https://www.tutorialrepublic.com%2Fcss-reference%2Fcss-outline-style-property.php';
        document.getElementById('email-btn').href = 'https://mail.google.com/mail/?view=cm&fs=1&su=' + title + '&body=https://www.tutorialrepublic.com%2Fcss-reference%2Fcss-outline-style-property.php';
    </script>
</div>
<!--End:Footer-->
    
<div class="backdrop mobile-only"></div>

<!-- TutorialRepublic base script -->
<script>
// Adding CSS files
[	
	'/lib/styles/legacy/extended-1.1.css',
	'/lib/icomoon/style.css'
].forEach(function(href) {
	var link = document.createElement('link');
	link.rel = 'stylesheet';
	link.href = href;
	(document.getElementsByTagName('head')[0]).appendChild(link);
});

// Adding JS files
[
	'https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js',
	'/lib/js/prism.js',
	'/lib/js/default-1.3.js'
].forEach(function(src) {
	var script = document.createElement('script');
	script.async = false; // important
	script.src = src;
	(document.getElementsByTagName('body')[0]).appendChild(script);
});
</script>


    <!--End:Footer-->
</body>
<!-- InstanceEnd --></html>