<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>outline Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/outline/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/outline/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:34:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How to use Outline Property in CSS?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-outline-property-in-css/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-outline-property-in-css/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Tue, 10 Aug 2021 02:05:41 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[outline]]></category>
		<category><![CDATA[outline-color]]></category>
		<category><![CDATA[outline-style]]></category>
		<category><![CDATA[outline-width]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7659</guid>

					<description><![CDATA[<p>An outline is a line that is drawn around elements, outside the borders. Outlines never take up space, as they [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-outline-property-in-css/">How to use Outline Property in CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">An outline is a line that is drawn around elements, outside the borders. Outlines never take up space, as they are drawn outside of an element&#8217;s content.</p>



<ul class="wp-block-list"><li>outline-color</li><li>outline-style</li><li>outline-width</li><li>outline</li></ul>



<script src="https://gist.github.com/ajcotocus/355f66cd257c8431e5151fa197f3bb57.js"></script>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="878" height="176" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-64.png" alt="" class="wp-image-7660" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-64.png 878w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-64-300x60.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-64-768x154.png 768w" sizes="(max-width: 878px) 100vw, 878px" /></figure>



<h3 class="wp-block-heading"><strong>outline-style</strong>&#8211;</h3>



<p class="wp-block-paragraph">This property is used to specify the style of an outline. We can set this property to <em>none</em> (default), <em>hidden, dotted, dashed, solid, double, groove, ridge, inset, outset</em>.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph">div { outline-style: solid;}</p>



<h3 class="wp-block-heading"><strong>outline-color</strong>&#8211;</h3>



<p class="wp-block-paragraph">This property is used to specify the color of an outline. We can set this property to invert (default) or color.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph">div { outline-style: solid; outline-color: red;}</p>



<script src="https://gist.github.com/ajcotocus/7e67bc178d363533a3ef8dca1873c41c.js"></script>



<figure class="wp-block-image size-large"><img decoding="async" width="853" height="181" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-65.png" alt="" class="wp-image-7661" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-65.png 853w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-65-300x64.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-65-768x163.png 768w" sizes="(max-width: 853px) 100vw, 853px" /></figure>



<h3 class="wp-block-heading"><strong>outline-width</strong>&#8211;</h3>



<p class="wp-block-paragraph">This property is used to specify width of an outline. We can set this property to <em>medium</em> (default), <em>thin, thick, length</em>.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph">div { outline-style: solid; outline-width: thin;}<br>div { outline-style: solid; outline-width: 5px;}</p>



<script src="https://gist.github.com/ajcotocus/cfde2c8671c6c8b8b9cf3517fa1d6d3d.js"></script>



<figure class="wp-block-image size-large"><img decoding="async" width="873" height="397" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-66.png" alt="" class="wp-image-7662" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-66.png 873w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-66-300x136.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-66-768x349.png 768w" sizes="(max-width: 873px) 100vw, 873px" /></figure>



<h3 class="wp-block-heading"><strong>outline</strong>&#8211;</h3>



<p class="wp-block-paragraph">This is shorthand of other outline properties.</p>



<p class="wp-block-paragraph"><strong>Syntax: &#8211;</strong></p>



<p class="wp-block-paragraph">Selector {outline: outline-color outline-style outline-width;}</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph">div { outline: red solid 3px;}</p>



<script src="https://gist.github.com/ajcotocus/7f41b27d8256cd91742b7658defd7516.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="877" height="214" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-67.png" alt="" class="wp-image-7663" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-67.png 877w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-67-300x73.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-67-768x187.png 768w" sizes="auto, (max-width: 877px) 100vw, 877px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-outline-property-in-css/">How to use Outline Property in CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-use-outline-property-in-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
