<?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>y-axis Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/y-axis/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/y-axis/</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 transform-origin property in CSS?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-transform-origin-property-in-css/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-transform-origin-property-in-css/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Sat, 14 Aug 2021 12:32:50 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[property]]></category>
		<category><![CDATA[transform-origin]]></category>
		<category><![CDATA[x-axis]]></category>
		<category><![CDATA[y-axis]]></category>
		<category><![CDATA[z-axis]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7947</guid>

					<description><![CDATA[<p>This property is used to change the position of transformed elements. This property must be used together with the transform [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-transform-origin-property-in-css/">How to use transform-origin 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">This property is used to change the position of transformed elements. This property must be used together with the transform property. We can set this property to x, y and z axis.</p>



<p class="wp-block-paragraph">2D transformations can change the x and y axis of an element.</p>



<p class="wp-block-paragraph">3D transformations can change the x, y and z axis of an element.</p>



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



<p class="wp-block-paragraph">Selector { transform-origin: x-axis y-axis z-axis; }</p>



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



<p class="wp-block-paragraph">div { transform-origin: 10%   20%    30%  ; }</p>



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



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="625" height="578" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-97.png" alt="" class="wp-image-7948" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-97.png 625w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-97-300x277.png 300w" sizes="(max-width: 625px) 100vw, 625px" /></figure>



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



<p class="wp-block-paragraph">This is used to define where the view is placed at the x-axis.</p>



<ul class="wp-block-list"><li>left</li><li>center</li><li>right</li><li>length (px, cm, em, %)</li><li></li></ul>



<h2 class="wp-block-heading">y-axis-</h2>



<p class="wp-block-paragraph">This is used to define where the view is placed at the y-axis.</p>



<ul class="wp-block-list"><li>top</li><li>center</li><li>bottom</li><li>length (px, cm, em, %)</li></ul>



<h2 class="wp-block-heading">z-axis-</h2>



<p class="wp-block-paragraph">This is used to define where the view is placed at the z-axis.</p>



<ul class="wp-block-list"><li>length (px, cm, em, %)</li></ul>



<h1 class="wp-block-heading">transform-style-</h1>



<p class="wp-block-paragraph">This property is used to specify how nested elements are rendered in 3D space. This property must be used together with the transform property. We can set this property to flat (default) and preserve-3d.</p>



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



<p class="wp-block-paragraph">div { transform-style: preserve-3d ; }</p>



<p class="wp-block-paragraph"><strong>Note &#8211;</strong> child elements will preserve its 3D position</p>



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



<figure class="wp-block-image size-full"><img decoding="async" width="435" height="880" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-98.png" alt="" class="wp-image-7949" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-98.png 435w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-98-148x300.png 148w" sizes="(max-width: 435px) 100vw, 435px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-transform-origin-property-in-css/">How to use transform-origin 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-transform-origin-property-in-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
