<?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>Pro-Tek Blog &#187; Responsive Design</title>
	<atom:link href="http://www.pro-tekconsulting.com/blog/category/responsive-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pro-tekconsulting.com/blog</link>
	<description>For UI developers / UI designers and UI trends</description>
	<lastBuildDate>Thu, 05 Sep 2019 03:59:47 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.34</generator>
	<item>
		<title>HOW TO HANDLE SPRITE IMAGES IN RESPONSIVE DESIGN?</title>
		<link>http://www.pro-tekconsulting.com/blog/how-to-handle-sprite-images-in-responsive-design/</link>
		<comments>http://www.pro-tekconsulting.com/blog/how-to-handle-sprite-images-in-responsive-design/#comments</comments>
		<pubDate>Tue, 05 Jan 2016 02:36:26 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Responsive Design]]></category>
		<category><![CDATA[responsive design]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=1235</guid>
		<description><![CDATA[<p>How to handle sprite images in responsive design? Let’s assume the following first: • background size is width:1000px, height:500px, • the image dimensions are 80px w, 80 px h, • position -173px, -293px in the sprite sheet. Then, background-size: x part 1000px / 80px = 12.5 =&#62; 1250% y part 500px / 80px = 6.25 [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/how-to-handle-sprite-images-in-responsive-design/">HOW TO HANDLE SPRITE IMAGES IN RESPONSIVE DESIGN?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>How to handle sprite images in responsive design?</h4>
<p>Let’s assume the following first:</p>
<p>• background size is width:1000px,<br />
height:500px,<br />
• the image dimensions are 80px w, 80 px h,<br />
• position -173px, -293px in the sprite sheet.<br />
Then,<br />
background-size:</p>
<p>x part 1000px / 80px = 12.5 =&gt; 1250%<br />
y part 500px / 80px = 6.25 =&gt; 625%</p>
<p>background-position:</p>
<p>x-part 173px / 1000px = 0.173 =&gt; 17.3%<br />
y part 293px / 500px = 0.586 =&gt; 58.6%</p>
<p>CSS would look like this<br />
background: url(&#8216;images/sprites.png&#8217;) no-repeat<br />
background-size: 1250% 625%;<br />
background-position: 17.3% 58.6%;</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/how-to-handle-sprite-images-in-responsive-design/">HOW TO HANDLE SPRITE IMAGES IN RESPONSIVE DESIGN?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/how-to-handle-sprite-images-in-responsive-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
