<?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>Tech Prone - Mobile &#124; Gadgets &#124; Photography &#124; How to &#124; Android &#187; css3</title>
	<atom:link href="http://www.techprone.com/category/design/css3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techprone.com</link>
	<description>Mobile &#124; Gadgets &#124; Photography &#124; How to &#124; Android</description>
	<lastBuildDate>Thu, 26 Jan 2012 11:48:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to improve your web performance using CSS-Sprites</title>
		<link>http://www.techprone.com/how-to-improve-your-web-performance-using-css-sprites/1192</link>
		<comments>http://www.techprone.com/how-to-improve-your-web-performance-using-css-sprites/1192#comments</comments>
		<pubDate>Fri, 03 Jul 2009 09:27:05 +0000</pubDate>
		<dc:creator>harshit</dc:creator>
				<category><![CDATA[css3]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[css techniques]]></category>
		<category><![CDATA[css.css sprites]]></category>
		<category><![CDATA[web performance]]></category>

		<guid isPermaLink="false">http://www.techprone.com/?p=1192</guid>
		<description><![CDATA[CSS sprites is a technique to combine unlimited number of images into one to improve the performance of your web page.Have you ever seen the CSS technique where the “on” and “off” states of a button are contained within the same image and are activated by shifting the background-position? Think of CSS Sprites as an [...]]]></description>
			<content:encoded><![CDATA[<p></p><p style="text-align: justify;">CSS sprites is a technique to combine unlimited number of images into one to improve the performance of your web page.Have you ever seen the CSS technique where the “on” and “off” states of a button are contained within the same image and are activated by shifting the background-position? Think of CSS Sprites as an extension of that technique.With millions of users Google,Yahoo!,MySpace,YouTube and AOL do everything they can to improve the user experience. As all of them use CSS sprites to save numerous HTTP requests for their intricate interfaces.</p>
<p style="text-align: justify;">What does css sprites does&#8230;</p>
<p>Group multiple images together (usually icons or decorative images) into one sprite<br />
Evenly space these images, aligned into one or more lines<br />
Set this sprite to the background image of an element (usually a list)<br />
Position the sprite to display the appropriate image by shifting the X or Y position by a multiple of the spacing<br />
Enjoy the increased speed and reduced HTTP requests</p>
<p>Create your own CSS Sprite&#8230;<br />
Step1-Create an image (or collect it from anywhere)using photshop,fireworks,gimp etc.. depends on your choice.<br />
<img class="alignnone size-full wp-image-1196" title="sprite1" src="http://cdn.techprone.com/wp-content/uploads/2009/07/sprite1.JPG" alt=" How to improve your web performance using CSS Sprites" width="504" height="165" /><br />
<code>#nav li a.item1 {background-image:url('../img/image1.jpg')}<br />
#nav li a:hover.item1 {background-image:url('../img/image1_over.jpg')}<br />
#nav li a.item2 {background-image:url('../img/image2.jpg')}<br />
#nav li a:hover.item2 {background-image:url('../img/image2_over.jpg')}<br />
#nav li a.item3 {background-image:url('../img/image3.jpg')}<br />
#nav li a:hover.item3 {background-image:url('../img/image3_over.jpg')}<br />
#nav li a.item4 {background-image:url('../img/image4.jpg')}<br />
#nav li a:hover.item4 {background-image:url('../img/image4_over.jpg')}<br />
#nav li a.item5 {background-image:url('../img/image5.jpg')}<br />
#nav li a:hover.item5 {background-image:url('../img/image5_over.jpg')}</code><br />
As above image displays that img1,img1_over,img2,img2_over<br />
it means that when background position changes image display changes<br />
By using CSS Sprites we are able to lighten up this interface.We may use one single image instead of 6 images.We can combine them into one big image.Create a new image that is as wide as your widest image and and as tall as the combined height of all your images plus X pixels, where X is the number of images you have. Now place you images into this new image, left aligned, one on top of the other with one pixel of white space in between.<img class="alignnone size-full wp-image-1198" title="sprite2" src="http://cdn.techprone.com/wp-content/uploads/2009/07/sprite2.jpg" alt="sprite2 How to improve your web performance using CSS Sprites" width="71" height="435" /><br />
Now look at css after combining the images into one<br />
<code>#nav li a.item1 {background-position:0px 0px;}<br />
#nav li a:hover.item1 {background-position:0px -72px;}<br />
#nav li a.item2 {background-position:0px -143px;}<br />
#nav li a:hover.item2 {background-position:0px -215px;}<br />
#nav li a.item3 {background-position:0px -287px;}<br />
#nav li a:hover.item3 {background-position:0px -359px;}<br />
#nav li a.item4 {background-position:0px -431px;}<br />
#nav li a:hover.item4 {background-position:0px -503px;}<br />
#nav li a.item5 {background-position:0px -575px;}<br />
#nav li a:hover.item5 {background-position:0px -647px;}</code></p>
<p>There is a single background-image applied to the anchor element itself, and the unique classes merely shift the background position with negative Y coordinates.</p>
<p>During this the HTTP Request time reduces and size of images reduces.This is done for only 6 images ,and if you are usimg it in your website then you will be able to find some dynamic changes.</p>
<p><a href="http://spritegen.website-performance.org/">CSS  Sprite Generator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techprone.com/how-to-improve-your-web-performance-using-css-sprites/1192/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to built shadow text using CSS</title>
		<link>http://www.techprone.com/how-to-built-shadow-text-using-css/898</link>
		<comments>http://www.techprone.com/how-to-built-shadow-text-using-css/898#comments</comments>
		<pubDate>Sat, 13 Jun 2009 20:32:02 +0000</pubDate>
		<dc:creator>harshit</dc:creator>
				<category><![CDATA[css3]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[designing]]></category>
		<category><![CDATA[shadow text]]></category>

		<guid isPermaLink="false">http://www.techprone.com/?p=898</guid>
		<description><![CDATA[What comes first in my mind,whenever I am thinking about creating a shadow text,just go to photoshop and uses shadow property(inner shadow ,outer shadow) ,but css3 provides a just a single line of code. To apply text shadow onto an element, add this CSS property in its style definition. text-shadow: 3px 3px 4px #000; The [...]]]></description>
			<content:encoded><![CDATA[<p></p><p style="text-align: justify;">What comes first in my mind,whenever I am thinking about creating a shadow text,just go to photoshop and uses shadow property(inner shadow ,outer shadow) ,but css3 provides a just a single line of code.<br />
To apply text shadow onto an element, add this CSS property in its style definition.</p>
<p style="text-align: justify;"><strong><span style="color: #0000ff;">text-shadow: 3px 3px 4px #000;</span></strong></p>
<p style="text-align: justify;">The text-shadow property looks cool, but it is currently not supported by major browsers including Firefox 3.0, but will be supported in Firefox 3.1 beta. Browsers that support this CSS3 property are Safari 3+, Konquerer, Opera9.5+ and iCab.</p>
<p style="text-align: justify;">
<p>For example,</p>
<p>This text will show a drop shadow in Safari, Opera or other supported browsers.</p>
<div id="photoImgDiv3623203410" class="photoImgDiv" style="width: 306px;"><img class="reflect" src="http://farm4.static.flickr.com/3602/3623203410_d558e95f8e.jpg?v=0" alt=" How to built shadow text using CSS " width="304" height="77" title="How to built shadow text using CSS " /></div>
<p style="text-align: justify;">Here first two values are offset of shadow from original text corresponding to right and top offset respectively while third numeric value is the amount of blur radius that causes pixels of the shadow text to stretch by the specified amount.</p>
<p>Positive values for right and top offset will position your shadow to right and bottom while negative values will change it accordingly.</p>
<p style="text-align: justify;">You can play with offset and blur values to create really nice looking text effects just with CSS. If you have been using this property for a while and created some really nice looking effects, let us know in comments below.</p>
<p style="text-align: justify;">Why text-shadow is good?<br />
The main goal of this property is to give designers and css coders a tool to make text effects, which could only be done before by rendering text as images with all the side effects. Text rendered as an image isn’t searchable and therefore very undelicious for search engines. Another side effect is the fact that images can be way more bigger as one small line of code in terms of file size. As you may know most css-files, which contain the whole layout of a website, are smaller than one image on most websites. So it’s really clever to use a css function instead of images for reducing unnecessary traffic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techprone.com/how-to-built-shadow-text-using-css/898/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Content Delivery Network via cdn.techprone.com

Served from: www.techprone.com @ 2012-02-11 02:19:42 -->
