<?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>::before Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/before/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/before/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:34:31 +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 generated content at run time dynamically with the ::before and ::after pseudo-elements in CSS?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-generated-content-at-run-time-dynamically-with-the-before-and-after-pseudo-elements-in-css/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-generated-content-at-run-time-dynamically-with-the-before-and-after-pseudo-elements-in-css/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Tue, 03 Aug 2021 12:23:55 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[::after]]></category>
		<category><![CDATA[::before]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dynamically]]></category>
		<category><![CDATA[pseudo-elements]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7322</guid>

					<description><![CDATA[<p>It is used to generated content at run time dynamically with the ::before and ::after pseudo-elements, to insert generated content. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-generated-content-at-run-time-dynamically-with-the-before-and-after-pseudo-elements-in-css/">How to use generated content at run time dynamically with the ::before and ::after pseudo-elements 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">It is used to generated content at run time dynamically with the ::before and ::after pseudo-elements, to insert generated content.</p>



<p class="wp-block-paragraph"><strong>Ex:-</strong></p>



<p class="wp-block-paragraph"><strong>p::before { content: “Hello DevOpsSchool}</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/1edde286-2f0d-4efa-a844-4973be86d135/styles-pseudo-elements.jpg" alt=""/></figure>



<ul class="wp-block-list"><li>normal</li><li>none</li><li>counter</li><li>attr(attribute)</li><li>string</li><li>open-quote</li><li>close-quote</li><li>no-open-quote</li><li>no-close-quote</li><li>url(url)</li></ul>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="821" height="469" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-7.png" alt="" class="wp-image-7323" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-7.png 821w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-7-300x171.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-7-768x439.png 768w" sizes="(max-width: 821px) 100vw, 821px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-generated-content-at-run-time-dynamically-with-the-before-and-after-pseudo-elements-in-css/">How to use generated content at run time dynamically with the ::before and ::after pseudo-elements 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-generated-content-at-run-time-dynamically-with-the-before-and-after-pseudo-elements-in-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to use Pseudo Element in CSS?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-pseudo-element-in-css/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-pseudo-element-in-css/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Mon, 02 Aug 2021 12:56:13 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[::after]]></category>
		<category><![CDATA[::before]]></category>
		<category><![CDATA[::first-letter]]></category>
		<category><![CDATA[::first-line]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[pseudo-element]]></category>
		<category><![CDATA[Selection]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7286</guid>

					<description><![CDATA[<p>This is used to style specified parts of an element. Syntax: &#8211; selector::pseudo-element { property:value; } Ex: &#8211; p::first-letter { [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-pseudo-element-in-css/">How to use Pseudo Element 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">This is used to style specified parts of an element.</p>



<figure class="wp-block-image"><img decoding="async" src="https://rjdesignz.com/wp-content/uploads/2017/08/css-pseudo-elements.jpg" alt=""/></figure>



<h4 class="wp-block-heading">Syntax: &#8211;</h4>



<p class="wp-block-paragraph"><strong>selector::pseudo-element { property:value; }</strong></p>



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



<p class="wp-block-paragraph"><strong>p::first-letter { color: red; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://2.bp.blogspot.com/--exJ-MF3ols/XBcBSOEnrZI/AAAAAAAAAL8/10InNXEACroZjD7xWNxwWEGAb5iP9WhzQCLcBGAs/s400/images%2B%252810%2529.png" alt=""/></figure>



<ul class="wp-block-list"><li><strong>::first-letter</strong></li><li><strong>::first-line</strong></li><li><strong>::selection</strong></li><li><strong>::before</strong></li><li><strong>::after</strong></li></ul>



<h3 class="wp-block-heading">::first-letter-</h3>



<p class="wp-block-paragraph">This is used to add a style to the first letter of the specified selector (each). This can only be used with block-level elements.</p>



<ul class="wp-block-list"><li>background properties</li><li>font properties</li><li>padding properties</li><li>color properties</li><li>margin properties</li><li>border properties</li><li>line-height</li><li>text-transform</li><li>text-decoration</li><li>vertical-align (only if float is &#8216;none&#8217;)</li><li>float</li><li>clear</li></ul>



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



<p class="wp-block-paragraph"><strong>p::first-letter { color: red;}</strong></p>



<h3 class="wp-block-heading">::first-line-</h3>



<p class="wp-block-paragraph">This is used to add a style to the first line of the specified selector (each). This can only be used with block-level elements.</p>



<ul class="wp-block-list"><li>background properties</li><li>font properties</li><li>text-decoration</li><li>color properties</li><li>word-spacing</li><li>letter-spacing</li><li>text-transform</li><li>vertical-align</li><li>line-height</li><li>clear</li></ul>



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



<p class="wp-block-paragraph"><strong>p::first-line { color: red;}</strong></p>



<h3 class="wp-block-heading">::selection-</h3>



<p class="wp-block-paragraph">This is used to matches the portion of an element that is selected by a user then apply the CSS rule in the selected content.</p>



<ul class="wp-block-list"><li>background properties</li><li>color properties</li><li>cursor properties</li><li>outline properties</li></ul>



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



<p class="wp-block-paragraph"><strong>p::selection { background-color: red; }</strong></p>



<h3 class="wp-block-heading">::before-</h3>



<p class="wp-block-paragraph">This is used to insert something before the content of each specified selector (each). We use content property to specify the content to insert.</p>



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



<p class="wp-block-paragraph"><strong>p::before { content: “ Hello World”; }</strong></p>



<h3 class="wp-block-heading">::after-</h3>



<p class="wp-block-paragraph">This is used to insert something after the content of each specified selector (each). We use content property to specify the content to insert.</p>



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



<p class="wp-block-paragraph"><strong>p::after { content: “ Hello DevOpsSchool”; }</strong></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-pseudo-element-in-css/">How to use Pseudo Element 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-pseudo-element-in-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
