<?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>bottom Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/bottom/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/bottom/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:34:32 +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 Padding Property in CSS?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-padding-property-in-css/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-padding-property-in-css/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Tue, 03 Aug 2021 12:45:49 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[bottom]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[left]]></category>
		<category><![CDATA[padding]]></category>
		<category><![CDATA[property]]></category>
		<category><![CDATA[Right]]></category>
		<category><![CDATA[Top]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7329</guid>

					<description><![CDATA[<p>Its shorthand padding property It declares all padding properties in one single line. We can set this property to length [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-padding-property-in-css/">How to Use Padding 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">Its shorthand padding property It declares all padding properties in one single line. We can set this property to length in the form of %, cm, px etc.</p>



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



<ul class="wp-block-list"><li>padding</li><li>padding-left</li><li>padding-right</li><li>padding-top</li><li>padding-bottom</li></ul>



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



<p class="wp-block-paragraph">This property is used to set the padding of specified element.</p>



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



<p class="wp-block-paragraph"><strong>img { padding: 10px 20px 30px 40px;}</strong></p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="799" height="682" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-9.png" alt="" class="wp-image-7330" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-9.png 799w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-9-300x256.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-9-768x656.png 768w" sizes="(max-width: 799px) 100vw, 799px" /></figure>



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



<p class="wp-block-paragraph">This property is used to set left padding of element. We can set this property to length in the form of %, cm, px etc.</p>



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



<p class="wp-block-paragraph"><strong>img { padding-left: 20%; }<br>h1 { padding-left: 40px; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://server2client.com/images/boxmodeldiagramleftpadding.webp" alt=""/></figure>



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



<p class="wp-block-paragraph">This property is used to set right padding of element. We can set this property to length in the form of %, cm, px etc.</p>



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



<p class="wp-block-paragraph"><strong>img { padding-right: 20%; }<br>h1 { padding-right: 40px; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://server2client.com/images/boxmodeldiagramrightpadding.webp" alt=""/></figure>



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



<p class="wp-block-paragraph">This property is used to set top padding of element. We can set this property to length in the form of %, cm, px etc. </p>



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



<p class="wp-block-paragraph"><strong>img { padding-top: 20%; }<br>h1 { padding-top: 40px; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://server2client.com/images/boxmodeldiagramtopmargin.webp" alt=""/></figure>



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



<p class="wp-block-paragraph">This property is used to set bottom padding of element. We can set this property to length in the form of %, cm, px etc.</p>



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



<p class="wp-block-paragraph"><strong>img { padding-bottom: 20%; }<br>h1 { padding-bottom: 40px; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://server2client.com/images/boxmodeldiagrambottompadding.webp" alt=""/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-padding-property-in-css/">How to Use Padding 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-padding-property-in-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to use Margin Property in CSS?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-margin-property-in-css/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-margin-property-in-css/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Tue, 03 Aug 2021 12:35:55 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[bottom]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[left]]></category>
		<category><![CDATA[margin]]></category>
		<category><![CDATA[property]]></category>
		<category><![CDATA[Right]]></category>
		<category><![CDATA[Top]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7325</guid>

					<description><![CDATA[<p>margin&#8211; Its shorthand margin property It declares all margin properties in one single line. We can set this property to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-margin-property-in-css/">How to use Margin Property in CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>margin</strong>&#8211;</h2>



<p class="wp-block-paragraph">Its shorthand margin property It declares all margin properties in one single line. We can set this property to auto or length in the form of %, cm, px etc. It is by default set 0px.</p>



<p class="wp-block-paragraph">When we set auto value browser decide the margin. </p>



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



<p class="wp-block-paragraph"><strong>img { margin: 10px 20px 30px 40px;}</strong></p>



<figure class="wp-block-image size-large"><img decoding="async" width="803" height="682" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-8.png" alt="" class="wp-image-7327" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-8.png 803w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-8-300x255.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-8-768x652.png 768w" sizes="(max-width: 803px) 100vw, 803px" /></figure>



<h2 class="wp-block-heading"><strong>Margin Property</strong></h2>



<p class="wp-block-paragraph">This property is used to set the margin of specified element.</p>



<ul class="wp-block-list"><li>margin-left</li><li>margin-right</li><li>margin-top</li><li>margin-bottom</li><li>margin</li></ul>



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



<p class="wp-block-paragraph">This property is used to set left margin of element. We can set this property to auto or length in the form of %, cm, px etc. It is by default set 0px.</p>



<p class="wp-block-paragraph">When we set auto value browser decide the margin. </p>



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



<p class="wp-block-paragraph"><strong>img { margin-left: 20%; }<br>h1 { margin-left: 40px; }<br>p { margin-left: auto; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://server2client.com/images/boxmodeldiagramleftmargin.webp" alt=""/></figure>



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



<p class="wp-block-paragraph">This property is used to set right margin of element. We can set this property to auto or length in the form of %, cm, px etc. It is by default set 0px.</p>



<p class="wp-block-paragraph">When we set auto value browser decide the margin. </p>



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



<p class="wp-block-paragraph"><strong>img { margin-right: 20%; }<br>h1 { margin-right: 40px; }<br>p { margin-right: auto; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://server2client.com/images/boxmodeldiagramrightmargin.webp" alt=""/></figure>



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



<p class="wp-block-paragraph">This property is used to set top margin of element. We can set this property to auto or length in the form of %, cm, px etc. It is by default set 0px.</p>



<p class="wp-block-paragraph">When we set auto value browser decide the margin. </p>



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



<p class="wp-block-paragraph"><strong>img { margin-top: 20%; }<br>h1 { margin-top: 40px; }<br>p { margin-top: auto; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://server2client.com/images/boxmodeldiagramtopmargin.webp" alt=""/></figure>



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



<p class="wp-block-paragraph">This property is used to set bottom margin of element. We can set this property to auto or length in the form of %, cm, px etc. It is by default set 0px.</p>



<p class="wp-block-paragraph">When we set auto value browser decide the margin. </p>



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



<p class="wp-block-paragraph"><strong>img { margin-bottom: 20%; }<br>h1 { margin-bottom: 40px; }<br>p { margin-bottom: auto; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://server2client.com/images/boxmodeldiagrambottommargin.webp" alt=""/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-margin-property-in-css/">How to use Margin 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-margin-property-in-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to use the position property in CSS to align elements?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-the-position-property-in-css-to-align-elements/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-the-position-property-in-css-to-align-elements/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Fri, 30 Jul 2021 12:30:09 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[align]]></category>
		<category><![CDATA[bottom]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[left]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[property]]></category>
		<category><![CDATA[Right]]></category>
		<category><![CDATA[Top]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7197</guid>

					<description><![CDATA[<p>In This tutorial, I am going to explain that how to How to use the position property in CSS to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-the-position-property-in-css-to-align-elements/">How to use the position property in CSS to align elements?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In This tutorial, I am going to explain that how to How to use the position property in CSS to align elements? Below Property to uses in align elements-</p>



<h2 class="wp-block-heading">Position-</h2>



<ul class="wp-block-list"><li>Left</li><li>Right</li><li>Bottom</li><li>Top</li><li>static</li><li>Fixed</li><li>Relative</li><li>Absolute</li></ul>



<p class="wp-block-paragraph"><strong>Length (cm, px, %)</strong></p>



<h2 class="wp-block-heading">Left Align Property-</h2>



<ul class="wp-block-list"><li>left: auto</li><li>left: 55px</li><li>left: 50%</li></ul>



<h2 class="wp-block-heading">Right Align Property-</h2>



<ul class="wp-block-list"><li>right: auto</li><li>right: 23px</li><li>right: 50%</li></ul>



<h2 class="wp-block-heading">Bottom Align Property-</h2>



<ul class="wp-block-list"><li>bottom: auto</li><li>bottom: 23cm</li><li>bottom: 40%</li></ul>



<h2 class="wp-block-heading">Top Align Property-</h2>



<ul class="wp-block-list"><li>top: auto</li><li>top: 20%</li><li>top: 40px</li></ul>



<h2 class="wp-block-heading"><strong>static</strong>&#8211;</h2>



<p class="wp-block-paragraph">When we set static position for an element then it is not positioned in any special way, it is always positioned according to the normal flow of the page. left, right, top and bottom property won’t work with static position.</p>



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



<p class="wp-block-paragraph"><strong>h1 {<br>position: static;<br>border: 5px solid red;<br>}</strong></p>



<p class="wp-block-paragraph"><strong>h1 {<br>position: static;<br>border: 5px solid red;<br>left: 50px;<br>}</strong></p>



<figure class="wp-block-image size-large"><img decoding="async" width="634" height="215" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-24.png" alt="" class="wp-image-7202" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-24.png 634w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-24-300x102.png 300w" sizes="(max-width: 634px) 100vw, 634px" /></figure>



<h2 class="wp-block-heading">fixed-</h2>



<p class="wp-block-paragraph">When we set fixed position for an element it always stays in the same place even if the page is scrolled. The top, right, bottom, and left properties are used to position the element.</p>



<p class="wp-block-paragraph"><strong>img {<br>position: fixed;<br>right: 0;<br>top: 50%;<br>border: 3px solid red;<br>}</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="282" height="258" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-25.png" alt="" class="wp-image-7203"/></figure>



<h2 class="wp-block-heading">relative-</h2>



<p class="wp-block-paragraph">When we set relative position for an element, elements positioned to its normal flow.</p>



<p class="wp-block-paragraph"><strong>h1 {<br>position: relative;<br>left: 50px;<br>border: 3px solid red;<br>}</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="642" height="246" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-23.png" alt="" class="wp-image-7201" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-23.png 642w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/image-23-300x115.png 300w" sizes="auto, (max-width: 642px) 100vw, 642px" /></figure>



<h2 class="wp-block-heading">absolute-</h2>



<p class="wp-block-paragraph">When we set absolute position for an element, element is positioned to the nearest positioned ancestor. If there is no positioned ancestor then it follow the normal position according to browser.</p>



<p class="wp-block-paragraph"><strong>div {<br>position: absolute;<br>top: 80px;<br>right: 0;<br>width: 200px;<br>height: 100px;<br>border: 3px solid red;<br>}</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://i2.wp.com/css-tricks.com/wp-content/uploads/2020/07/Screen-Shot-2020-07-24-at-11.46.45-AM.png?resize=1022%2C1024&amp;ssl=1" alt="Absolute Positioning Inside Relative Positioning | CSS-Tricks"/></figure>



<p class="wp-block-paragraph">These properties are used to position an element.</p>



<p class="wp-block-paragraph">We can not use any of these properties without setting up position property.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-the-position-property-in-css-to-align-elements/">How to use the position property in CSS to align elements?</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-the-position-property-in-css-to-align-elements/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
