<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>HTML, HTML5, CSS, CSS3, JQuery, Flash, Photoshop, mobile, iphone &#38; ipad web application</title>
	<atom:link href="http://dhirajkumarsingh.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dhirajkumarsingh.wordpress.com</link>
	<description>Latest Techonology Updates in Web Technology By Creative Head, Dhiraj</description>
	<lastBuildDate>Tue, 14 May 2013 16:43:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dhirajkumarsingh.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/88a21ecb9a959d705aff5a886c57438d?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>HTML, HTML5, CSS, CSS3, JQuery, Flash, Photoshop, mobile, iphone &#38; ipad web application</title>
		<link>http://dhirajkumarsingh.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dhirajkumarsingh.wordpress.com/osd.xml" title="HTML, HTML5, CSS, CSS3, JQuery, Flash, Photoshop, mobile, iphone &#38; ipad web application" />
	<atom:link rel='hub' href='http://dhirajkumarsingh.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Animate Full-Page Multiple Background images with fade-in &amp; fade-out effect &#8211; jQuery</title>
		<link>http://dhirajkumarsingh.wordpress.com/2013/05/05/jquery-animate-full-page-multiple-background-image-fade-in-out-effect/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2013/05/05/jquery-animate-full-page-multiple-background-image-fade-in-out-effect/#comments</comments>
		<pubDate>Sun, 05 May 2013 13:14:34 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[Animated Background]]></category>
		<category><![CDATA[animation delay]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[animation effect]]></category>
		<category><![CDATA[background color]]></category>
		<category><![CDATA[background effect]]></category>
		<category><![CDATA[background images]]></category>
		<category><![CDATA[background size]]></category>
		<category><![CDATA[background url]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[css effects]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[fade]]></category>
		<category><![CDATA[fade-in]]></category>
		<category><![CDATA[fade-out]]></category>
		<category><![CDATA[flexible]]></category>
		<category><![CDATA[fluid design]]></category>
		<category><![CDATA[free open source]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[graphical user interface]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[image animation]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript functions]]></category>
		<category><![CDATA[javascript programmers]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jQuery animation]]></category>
		<category><![CDATA[jquery banner slider]]></category>
		<category><![CDATA[jquery responsive slider]]></category>
		<category><![CDATA[line tag]]></category>
		<category><![CDATA[liquid design]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[open source javascript]]></category>
		<category><![CDATA[page elements]]></category>
		<category><![CDATA[paragraph text]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project workflow]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[responsive design]]></category>
		<category><![CDATA[responsive web]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[transition effects]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[visual effect]]></category>
		<category><![CDATA[visual transition]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=916</guid>
		<description><![CDATA[&#8220;How to change multiple background-image of body with effects?&#8221; &#8211; I think this is a major problem which all designers face. You can fade background colors but not background images. The way to work around this is to have your images as &#60;img&#62; tags and hide them by default display:none;. Give your images position:absolute and z-index:-1 so [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=916&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>&#8220;How to change multiple background-image of body with effects?&#8221; &#8211; I think this is a major problem which all designers face. You can fade background colors but not background images. The way to work around this is to have your images as <code>&lt;img&gt;</code> tags and hide them by default display:none;. Give your images position:absolute and z-index:-1 so they act like backgrounds and are behind everything else.</p></blockquote>
<p>Here&#8217;s a <a href="http://demo.web3designs.com/jquery-animated-background-images-fade-in-out.htm" target="_blank">quick example</a> of multiple images fading one after the other.</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/jquery-animated-background-images-fade-in-out.htm" target="_blank"><img class="aligncenter size-full wp-image-917" style="border:1px solid #dddddd;padding:2px;" alt="jquery-full-page-animated-background-images" src="http://dhirajkumarsingh.files.wordpress.com/2013/05/jquery-full-page-animated-background-images1.png?w=614"   /></a></p>
<h2>The HTML</h2>
<p>Html is very simple. Just add a div with multiple images which you want to animate / change in background with fade effects.</p>
<pre>&lt;div id="wrap"&gt;
&lt;img class="bgfade" src="http://farm9.staticflickr.com/8526/8668341950_182b74faf2_z.jpg"&gt;
&lt;img class="bgfade" src="http://farm9.staticflickr.com/8532/8667337535_6da0a9a261_z.jpg"&gt;
&lt;img class="bgfade" src="http://farm9.staticflickr.com/8540/8667244539_d227f8c435_z.jpg"&gt;
&lt;/div&gt;</pre>
<h2>The CSS</h2>
<p>Now, We will use some CSS Technique which will create an illusion like background-image animation. The way to work around this is to have your images as &lt;img&gt; tags and hide them by default &#8220;display:none;&#8221;. Give your images &#8220;position:absolute&#8221; and &#8220;z-index:-1&#8243; so they act like backgrounds and are behind everything else. Now, set css property of div#wrap which includes these images to &#8220;position:fixed&#8221; and &#8220;top:0; left:0;&#8221; so that it will fix with page background.</p>
<pre>#wrap{
	position:fixed;; 
	z-index:-1; 
	top:0; 
	left:0; 
	background-color:black
}
#wrap img.bgfade{
	position:absolute;
	top:0;
	display:none;
	width:100%;
	height:100%;
	z-index:-1
}</pre>
<h2>jQuery</h2>
<p>Now, it is java-script&#8217;s turn. We will calculate browser window&#8217;s height &amp; width. After that we will set width/height of div#wrap to browser so that background cover entire webpage. Now we have to animate our images. We will simple use function of fadeIn() and fadeOut() in images for this.</p>
<pre>$(window).load(function(){
$('img.bgfade').hide();
var dg_H = $(window).height();
var dg_W = $(window).width();
$('#wrap').css({'height':dg_H,'width':dg_W});
function anim() {
    $("#wrap img.bgfade").first().appendTo('#wrap').fadeOut(1500);
    $("#wrap img").first().fadeIn(1500);
    setTimeout(anim, 3000);
}
anim();})
$(window).resize(function(){window.location.href=window.location.href})</pre>
<h3>Updated</h3>
<p>I have updated the script. Actually, after re-sizing the browser we have to update the width/height of div#wrap. So, I am going to reload this window, when ever browser will re-size. It will help to re-calculate all these and refresh the animation. Div#wrap will re-size according to browser window and play animation smoothly.</p>
<p><a href="http://demo.web3designs.com/jquery-animated-background-images-fade-in-out.htm" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#038;h=77&#038;h=77" width="180" height="77" /></a></p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animated-background/'>Animated Background</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-delay/'>animation delay</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-effect/'>animation effect</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-color/'>background color</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-effect/'>background effect</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-images/'>background images</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-size/'>background size</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-url/'>background url</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-effects/'>css effects</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/effects/'>effects</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/elements/'>elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/enterprise-it/'>enterprise-it</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fade/'>fade</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fade-in/'>fade-in</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fade-out/'>fade-out</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/flexible/'>flexible</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fluid-design/'>fluid design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/free-open-source/'>free open source</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/graphical-user-interface/'>graphical user interface</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid/'>grid</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/image-animation/'>image animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-2/'>javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-functions/'>javascript functions</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-programmers/'>javascript programmers</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery/'>jquery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-animation/'>jQuery animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-banner-slider/'>jquery banner slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-responsive-slider/'>jquery responsive slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/line-tag/'>line tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/liquid-design/'>liquid design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/open-source-javascript/'>open source javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/page-elements/'>page elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/paragraph-text/'>paragraph text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/plugin/'>plugin</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/programming/'>programming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/project-workflow/'>project workflow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/responsive/'>responsive</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/responsive-design/'>responsive design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/responsive-web/'>responsive web</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/science/'>science</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software/'>software</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software-development/'>software-development</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transition-effects/'>transition effects</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-effect/'>visual effect</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/916/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/916/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=916&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2013/05/05/jquery-animate-full-page-multiple-background-image-fade-in-out-effect/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2013/05/jquery-full-page-animated-background-images1.png" medium="image">
			<media:title type="html">jquery-full-page-animated-background-images</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#38;h=77&#38;h=77" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>Responsive jQuery Banner Slider with Pagination circles – Responsive_DG_Slider</title>
		<link>http://dhirajkumarsingh.wordpress.com/2013/03/18/responsive-jquery-banner-slider-with-pagination-circles-responsive_dg_slider/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2013/03/18/responsive-jquery-banner-slider-with-pagination-circles-responsive_dg_slider/#comments</comments>
		<pubDate>Sun, 17 Mar 2013 19:35:36 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[1280x720]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[animation delay]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[auto control]]></category>
		<category><![CDATA[charcoal]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[content slider]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[customizable options]]></category>
		<category><![CDATA[dg]]></category>
		<category><![CDATA[DG_Slider]]></category>
		<category><![CDATA[div class]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[fluid design]]></category>
		<category><![CDATA[fluid layout]]></category>
		<category><![CDATA[free open source]]></category>
		<category><![CDATA[full-screen photo gallery]]></category>
		<category><![CDATA[full-screen slider]]></category>
		<category><![CDATA[fullscreen gallery]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[graphical user interface]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html markups]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[image slider]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[java script library]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript functions]]></category>
		<category><![CDATA[javascript programmers]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jQuery animation]]></category>
		<category><![CDATA[jquery banner slider]]></category>
		<category><![CDATA[jquery plugin]]></category>
		<category><![CDATA[jquery responsive slider]]></category>
		<category><![CDATA[jquery vertical slider]]></category>
		<category><![CDATA[line tag]]></category>
		<category><![CDATA[liquid design]]></category>
		<category><![CDATA[lt]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[open source javascript]]></category>
		<category><![CDATA[page elements]]></category>
		<category><![CDATA[pagination]]></category>
		<category><![CDATA[paragraph text]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project workflow]]></category>
		<category><![CDATA[random transition]]></category>
		<category><![CDATA[relative position]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[responsive design]]></category>
		<category><![CDATA[responsive web]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[slider with controls]]></category>
		<category><![CDATA[slider with pager]]></category>
		<category><![CDATA[slider with paging]]></category>
		<category><![CDATA[slides]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[transition effects]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[vertical slider]]></category>
		<category><![CDATA[visual transition]]></category>
		<category><![CDATA[window loads]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=895</guid>
		<description><![CDATA[After working on Responsive_DG_Slider,  which is a most flexible/responsive image slider with different random transition effects. After full-screen example, I am sharing another example with different transition effects. It is very easy to implement. Here I am showing It’s Pagination circles with the height relative to the width functionality powered by the fantastic java-script library jQuery. Configuring Your Slider As we [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=895&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>After working on <a href="http://dhirajkumarsingh.wordpress.com/jquery-responsive-slider-fluid-slideshow-plugin-fluid_dg-responsive_dg/">Responsive_DG_Slider</a>,  which is a most flexible/responsive image slider with different random transition effects. After <a href="http://dhirajkumarsingh.wordpress.com/2013/03/10/full-screen-responsive-jquery-banner-slider-responsive_dg_slider/" target="_blank">full-screen example</a>, I am sharing another example with different transition effects. It is very easy to implement.</p></blockquote>
<p>Here I am showing It’s <strong>Pagination circles with the height relative to the width functionality</strong> powered by the fantastic java-script library <a href="http://jquery.com/" target="_blank">jQuery</a>.</p>
<h3>Configuring Your Slider</h3>
<p style="text-align:left;">As we have done earlier, configuring the slider is very simple, you just need to place your images and call the initializer function and your slider is ready. Here’s how you can do this for<a href="http://dhirajkumarsingh.wordpress.com/jquery-responsive-slider-fluid-slideshow-plugin-fluid_dg-responsive_dg/"> liquid/responsive images slider</a> with pagination.</p>
<p style="text-align:left;"><a href="http://demo.web3designs.com/Responsive_DG_Slider/responsive-slider-pagination-circle.htm" target="_blank"><img class="aligncenter size-full wp-image-896" style="border:1px solid #ddd;padding:2px;" alt="responsive-slider-pagination-circle" src="http://dhirajkumarsingh.files.wordpress.com/2013/03/responsive-slider-pagination-circle.png?w=614"   /></a></p>
<h3>The HTML</h3>
<pre>&lt;div class="fluid_container"&gt;
        &lt;div class="fluid_dg_wrap fluid_dg_charcoal_skin" id="fluid_dg_wrap_1"&gt;
            &lt;div data-thumb="slides/thumbs/1.jpg" data-src="slides/1-1280x720.jpg"&gt;
                &lt;div class="fluid_dg_caption fadeFromBottom"&gt;
                    Responsive_DG_Slider is a responsive/adaptive slideshow. &lt;em&gt;Try to resize the browser window&lt;/em&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div data-thumb="slides/thumbs/2.jpg" data-src="slides/2-1280x720.jpg"&gt;
                &lt;div class="fluid_dg_caption fadeFromBottom"&gt;
                    It uses a light version of jQuery mobile, &lt;em&gt;navigate the slides by swiping with your fingers&lt;/em&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div data-thumb="slides/thumbs/3.jpg" data-src="slides/3-1280x720.jpg"&gt;
                &lt;div class="fluid_dg_caption fadeFromBottom"&gt;
                    &lt;em&gt;It's &lt;strong&gt;completely free&lt;/strong&gt;, with tons of effects, Prev / next, pager, Start / Stop / Auto control controls and lot of customizable options.&lt;/em&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div data-thumb="slides/thumbs/4.jpg" data-src="slides/4-1280x720.jpg"&gt;
                &lt;div class="fluid_dg_caption fadeFromBottom"&gt;
                    Responsive_DG_Slider slideshow provides many options &lt;em&gt;to customize your project&lt;/em&gt; as more as possible
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div data-thumb="slides/thumbs/5.jpg" data-src="slides/5-1280x720.jpg"&gt;
                &lt;div class="fluid_dg_caption fadeFromBottom"&gt;
                    It supports captions, HTML elements and videos and &lt;em&gt;it's validated in HTML5&lt;/em&gt; (&lt;a href="http://validator.w3.org/check?uri=http%3A%2F%2Fdemo.web3designs.com%2FResponsive_DG_Slider%2Fresponsive-slider-pagination-circle.htm" target="_blank"&gt;have a look&lt;/a&gt;)
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div data-thumb="slides/thumbs/6.jpg" data-src="slides/6-1280x720.jpg"&gt;
                &lt;div class="fluid_dg_caption fadeFromBottom"&gt;
                    Different color skins and layouts available, &lt;em&gt;&lt;a href="http://demo.web3designs.com/Responsive_DG_Slider/fullscreen-responsive-image-slider.htm"&gt;fullscreen&lt;/a&gt; ready too&lt;/em&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;</pre>
<h3>The CSS</h3>
<p>First we have to link it’s default css file.</p>
<pre>&lt;link rel='stylesheet' id='fluid_dg-css'  href='css/fluid_dg.css' type='text/css' media='all'&gt;</pre>
<p>Now some customization:</p>
<pre>.fluid_container {
			margin: 0 auto;
			width: 100%;
		}</pre>
<h3>The jQuery</h3>
<p>First, We have to add some jQuery library.</p>
<pre> &lt;script type='text/javascript' src='http://code.jquery.com/jquery-1.6.2.min.js'&gt;&lt;/script&gt;
    &lt;script type='text/javascript' src='Scripts/jquery.mobile.customized.min.js'&gt;&lt;/script&gt;
    &lt;script type='text/javascript' src='Scripts/jquery.easing.1.3.js'&gt;&lt;/script&gt; 
    &lt;script type='text/javascript' src='Scripts/fluid_dg.min.js'&gt;&lt;/script&gt;</pre>
<p>After adding all these library we have to initiate the <a href="http://dhirajkumarsingh.wordpress.com/jquery-responsive-slider-fluid-slideshow-plugin-fluid_dg-responsive_dg/">Responsive_DG_Slider</a>.</p>
<pre>jQuery(document).ready(function(){
		jQuery(function(){			
			jQuery('#fluid_dg_wrap_1').fluid_dg({thumbnails: true,height:"25%"});
		}); })</pre>
<h3>You have done!!</h3>
<p style="text-align:left;">Now enjoy your liquid slider. Please feel free to comment and share your thoughts/ideas about the result.<br />
<a href="http://demo.web3designs.com/Responsive_DG_Slider/responsive-slider-pagination-circle.htm" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#038;h=77&#038;h=77" width="180" height="77" /></a></p>
<h3>Updated</h3>
<p style="text-align:left;">
<p><a href="http://dhirajkumarsingh.wordpress.com/jquery-responsive-slider-fluid-slideshow-plugin-fluid_dg-responsive_dg/">APIs and other options</a> of this wonderful plugin, please <a href="http://dhirajkumarsingh.wordpress.com/jquery-responsive-slider-fluid-slideshow-plugin-fluid_dg-responsive_dg/">click h</a><a href="http://dhirajkumarsingh.wordpress.com/jquery-responsive-slider-fluid-slideshow-plugin-fluid_dg-responsive_dg/">ere</a>.</p>
<p style="text-align:left;">
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/1280x720/'>1280x720</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-delay/'>animation delay</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/auto-control/'>auto control</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/charcoal/'>charcoal</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/content-slider/'>content slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/customizable-options/'>customizable options</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/dg/'>dg</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/dg_slider/'>DG_Slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/div-class/'>div class</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/elements/'>elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/enterprise-it/'>enterprise-it</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fluid-design/'>fluid design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fluid-layout/'>fluid layout</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/free-open-source/'>free open source</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/full-screen-photo-gallery/'>full-screen photo gallery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/full-screen-slider/'>full-screen slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fullscreen-gallery/'>fullscreen gallery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/graphical-user-interface/'>graphical user interface</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid/'>grid</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-markups/'>html markups</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/image-slider/'>image slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/java-script-library/'>java script library</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-2/'>javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-functions/'>javascript functions</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-programmers/'>javascript programmers</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery/'>jquery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-animation/'>jQuery animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-banner-slider/'>jquery banner slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-plugin/'>jquery plugin</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-responsive-slider/'>jquery responsive slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-vertical-slider/'>jquery vertical slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/line-tag/'>line tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/liquid-design/'>liquid design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/lt/'>lt</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/open-source-javascript/'>open source javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/page-elements/'>page elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/pagination/'>pagination</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/paragraph-text/'>paragraph text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/photography/'>photography</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/plugin/'>plugin</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/programming/'>programming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/project-workflow/'>project workflow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/random-transition/'>random transition</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/relative-position/'>relative position</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/responsive/'>responsive</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/responsive-design/'>responsive design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/responsive-web/'>responsive web</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/science/'>science</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/slider/'>slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/slider-with-controls/'>slider with controls</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/slider-with-pager/'>slider with pager</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/slider-with-paging/'>slider with paging</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/slides/'>slides</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software/'>software</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software-development/'>software-development</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transition-effects/'>transition effects</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/vertical-slider/'>vertical slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/window-loads/'>window loads</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/895/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/895/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=895&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2013/03/18/responsive-jquery-banner-slider-with-pagination-circles-responsive_dg_slider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2013/03/responsive-slider-pagination-circle.png" medium="image">
			<media:title type="html">responsive-slider-pagination-circle</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#38;h=77&#38;h=77" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>Full-Screen Responsive jQuery Banner Slider &#8211; Responsive_DG_Slider</title>
		<link>http://dhirajkumarsingh.wordpress.com/2013/03/10/full-screen-responsive-jquery-banner-slider-responsive_dg_slider/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2013/03/10/full-screen-responsive-jquery-banner-slider-responsive_dg_slider/#comments</comments>
		<pubDate>Sun, 10 Mar 2013 16:22:56 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[1280x720]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[animation delay]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[content slider]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[DG_Slider]]></category>
		<category><![CDATA[div class]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[fluid design]]></category>
		<category><![CDATA[fluid layout]]></category>
		<category><![CDATA[free open source]]></category>
		<category><![CDATA[full-screen photo gallery]]></category>
		<category><![CDATA[full-screen slider]]></category>
		<category><![CDATA[fullscreen gallery]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[graphical user interface]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html markups]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[image slider]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[java script library]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript functions]]></category>
		<category><![CDATA[javascript programmers]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jQuery animation]]></category>
		<category><![CDATA[jquery banner slider]]></category>
		<category><![CDATA[jquery plugin]]></category>
		<category><![CDATA[jquery responsive slider]]></category>
		<category><![CDATA[jquery vertical slider]]></category>
		<category><![CDATA[line tag]]></category>
		<category><![CDATA[liquid design]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[open source javascript]]></category>
		<category><![CDATA[page elements]]></category>
		<category><![CDATA[paragraph text]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project workflow]]></category>
		<category><![CDATA[relative position]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[responsive design]]></category>
		<category><![CDATA[responsive web]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[slider with controls]]></category>
		<category><![CDATA[slider with pager]]></category>
		<category><![CDATA[slider with paging]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[vertical slider]]></category>
		<category><![CDATA[visual transition]]></category>
		<category><![CDATA[window loads]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=879</guid>
		<description><![CDATA[After working on responsive or flexy designs, I found some serious issues about fixed width in most of images/banner sliders which I have got online. So, I thought to develop a liquid/responsive images slider with different transition effects. Here, I am going to introduce you, a most flexible/responsive slider i.e. Responsive_DG_Slider. It is so easy and [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=879&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>After working on <a href="http://dhirajkumarsingh.wordpress.com/2013/02/24/responsive-css-design-web-design-tips/" target="_blank">responsive or flexy designs</a>, I found some serious issues about fixed width in most of images/banner sliders which I have got online. So, I thought to develop a <a href="http://dhirajkumarsingh.wordpress.com/jquery-responsive-slider-fluid-slideshow-plugin-fluid_dg-responsive_dg/">liquid/responsive images slider</a> with different transition effects. Here, I am going to introduce you, a most flexible/responsive slider i.e. <a href="http://dhirajkumarsingh.wordpress.com/jquery-responsive-slider-fluid-slideshow-plugin-fluid_dg-responsive_dg/">Responsive_DG_Slider</a>. It is so easy and useful. I have decided that I will post a page dedicated to this slider with<a href="http://dhirajkumarsingh.wordpress.com/jquery-responsive-slider-fluid-slideshow-plugin-fluid_dg-responsive_dg/"> it&#8217;s features and API</a> later.</p></blockquote>
<p style="text-align:left;">Here I am showing It&#8217;s <strong>full screen responsive image slider functionality</strong> powered by the fantastic java-script library <a href="http://jquery.com/" target="_blank">jQuery</a>. With a nice and simple design it adjusted automatically to the width of your browser screen. Image sliders add life and interactivity to your web contents. But creating an image slider from scratch is not that easy. You need some good programming skills to create your own slider. If you are not the programmer or you just don’t want to re-invent the wheel, Responsive_DG_Slider is for you. Previously, I have already developed a very simple and useful slider i. e. <a title="Ultimate jQuery Content Slider Plugin – DG_Slider" href="http://dhirajkumarsingh.wordpress.com/ultimate-jquery-content-slider-plugin-dg_slider/">jQuery &#8211; DG_Slider</a>.<br />
<a href="http://demo.web3designs.com/Responsive_DG_Slider/fullscreen-responsive-image-slider.htm" target="_blank"><img class="aligncenter size-full wp-image-889" style="border:1px solid #d7d7d7;padding:2px;" alt="jquery-responsive-slider" src="http://dhirajkumarsingh.files.wordpress.com/2013/03/jquery-responsive-slider.jpg?w=614"   /></a></p>
<h3>Configuring Your Slider</h3>
<p>Configuring the slider is very simple, you just need to place your images and call the initializer function and your slider is ready. Here’s how you can do this for full-screen.</p>
<h3>The HTML</h3>
<p>For develping a Full-Screen Background image slider you need to create the necessary HTML markups for your slider and then add references to necessary script files.</p>
<pre>&lt;div class="fluid_container"&gt;
        &lt;div class="fluid_dg_wrap fluid_dg_emboss pattern_1 fluid_dg_white_skin" id="fluid_dg_wrap_4"&gt;
            &lt;div data-thumb="slides/thumbs/1.jpg" data-src="slides/1-1280x720.jpg"&gt;&lt;/div&gt;
            &lt;div data-thumb="slides/thumbs/2.jpg" data-src="slides/2-1280x720.jpg"&gt;&lt;/div&gt;
            &lt;div data-thumb="slides/thumbs/3.jpg" data-src="slides/3-1280x720.jpg"&gt;&lt;/div&gt;
            &lt;div data-thumb="slides/thumbs/4.jpg" data-src="slides/4-1280x720.jpg"&gt;&lt;/div&gt;
            &lt;div data-thumb="slides/thumbs/5.jpg" data-src="slides/5-1280x720.jpg"&gt;&lt;/div&gt;
            &lt;div data-thumb="slides/thumbs/6.jpg" data-src="slides/6-1280x720.jpg"&gt;&lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;</pre>
<h3>The CSS</h3>
<p>We have to link it&#8217;s default css file.</p>
<pre>&lt;link rel='stylesheet' id='fluid_dg-css'  href='css/fluid_dg.css' type='text/css' media='all'&gt;</pre>
<p>After attaching the default CSS, now we will customize it according to our requirement.</p>
<pre>.fluid_container {
	bottom: 0; height: 100%; left: 0; position: fixed; right: 0; top: 0; z-index: 0;
}
#fluid_dg_wrap_4 {
	bottom: 0; height: 100%; left: 0;
	margin-bottom: 0 !important;
	position: fixed; right: 0; top: 0;
}
.fluid_dg_bar {
	z-index: 2;
}
.fluid_dg_prevThumbs, 
.fluid_dg_nextThumbs, 
.fluid_dg_prev, 
.fluid_dg_next, 
.fluid_dg_commands, 
.fluid_dg_thumbs_cont {
	background: #222;
	background: rgba(2, 2, 2, .7);
}
.fluid_dg_thumbs {
	margin-top: -100px; position: relative; z-index: 1;
}
.fluid_dg_thumbs_cont {
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}
.fluid_dg_overlayer {
	opacity: .1;
}</pre>
<h3>The jQuery</h3>
<p>First, We have to add some jQuery library.</p>
<pre>    &lt;script type='text/javascript' src='http://code.jquery.com/jquery-1.6.2.min.js'&gt;&lt;/script&gt;
    &lt;script type='text/javascript' src='Scripts/jquery.mobile.customized.min.js'&gt;&lt;/script&gt;
    &lt;script type='text/javascript' src='Scripts/jquery.easing.1.3.js'&gt;&lt;/script&gt; 
    &lt;script type='text/javascript' src='Scripts/fluid_dg.min.js'&gt;&lt;/script&gt;</pre>
<p>After adding all these library we have to initiate the Responsive_DG_Slider. In this slider&#8217;s API we have several customization options. Here we are customizing some options according to this full-screen slider.</p>
<pre>jQuery(document).ready(function(){
	jQuery(function(){			
		jQuery('#fluid_dg_wrap_4').fluid_dg({height: 'auto', loader: 'bar', pagination: false, thumbnails: true, hover: false, opacityOnGrid: false, imagePath: ''});
	}); 
})</pre>
<h3>Done!</h3>
<p>That’s all, I hope you liked this article. Please feel free to comment and share your thoughts/ideas about the result.<br />
<a href="http://demo.web3designs.com/Responsive_DG_Slider/fullscreen-responsive-image-slider.htm" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#038;h=77&#038;h=77" width="180" height="77" /></a></p>
<h3>Updated</h3>
<p><a href="http://dhirajkumarsingh.wordpress.com/jquery-responsive-slider-fluid-slideshow-plugin-fluid_dg-responsive_dg/">APIs and other options</a> of this wonderful plugin, please <a href="http://dhirajkumarsingh.wordpress.com/jquery-responsive-slider-fluid-slideshow-plugin-fluid_dg-responsive_dg/">click h</a><a href="http://dhirajkumarsingh.wordpress.com/jquery-responsive-slider-fluid-slideshow-plugin-fluid_dg-responsive_dg/">ere</a>.</p>
<p>&nbsp;</p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/1280x720/'>1280x720</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-delay/'>animation delay</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/content-slider/'>content slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/dg_slider/'>DG_Slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/div-class/'>div class</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/elements/'>elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/enterprise-it/'>enterprise-it</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fluid-design/'>fluid design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fluid-layout/'>fluid layout</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/free-open-source/'>free open source</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/full-screen-photo-gallery/'>full-screen photo gallery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/full-screen-slider/'>full-screen slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fullscreen-gallery/'>fullscreen gallery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/graphical-user-interface/'>graphical user interface</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid/'>grid</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-markups/'>html markups</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/image-slider/'>image slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/java-script-library/'>java script library</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-2/'>javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-functions/'>javascript functions</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-programmers/'>javascript programmers</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery/'>jquery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-animation/'>jQuery animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-banner-slider/'>jquery banner slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-plugin/'>jquery plugin</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-responsive-slider/'>jquery responsive slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-vertical-slider/'>jquery vertical slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/line-tag/'>line tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/liquid-design/'>liquid design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/open-source-javascript/'>open source javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/page-elements/'>page elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/paragraph-text/'>paragraph text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/photography/'>photography</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/programming/'>programming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/project-workflow/'>project workflow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/relative-position/'>relative position</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/responsive/'>responsive</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/responsive-design/'>responsive design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/responsive-web/'>responsive web</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/slider/'>slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/slider-with-controls/'>slider with controls</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/slider-with-pager/'>slider with pager</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/slider-with-paging/'>slider with paging</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software/'>software</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software-development/'>software-development</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/vertical-slider/'>vertical slider</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/window-loads/'>window loads</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/879/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=879&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2013/03/10/full-screen-responsive-jquery-banner-slider-responsive_dg_slider/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2013/03/jquery-responsive-slider.jpg" medium="image">
			<media:title type="html">jquery-responsive-slider</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#38;h=77" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>Responsive CSS design – Web Design Tips</title>
		<link>http://dhirajkumarsingh.wordpress.com/2013/02/24/responsive-css-design-web-design-tips/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2013/02/24/responsive-css-design-web-design-tips/#comments</comments>
		<pubDate>Sun, 24 Feb 2013 17:55:55 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[animation delay]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[block level elements]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css media]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[flexible]]></category>
		<category><![CDATA[flexible media]]></category>
		<category><![CDATA[flexible nature]]></category>
		<category><![CDATA[fluid design]]></category>
		<category><![CDATA[fluid layout]]></category>
		<category><![CDATA[free open source]]></category>
		<category><![CDATA[graphical user interface]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html elements]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[inline elements]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript functions]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[magical tool]]></category>
		<category><![CDATA[max-width]]></category>
		<category><![CDATA[media screen]]></category>
		<category><![CDATA[min-width]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mobile CSS]]></category>
		<category><![CDATA[mobile device]]></category>
		<category><![CDATA[Mobile navigation]]></category>
		<category><![CDATA[project workflow]]></category>
		<category><![CDATA[px vs em]]></category>
		<category><![CDATA[relative position]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[responsive design]]></category>
		<category><![CDATA[responsive web]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[typography effects]]></category>
		<category><![CDATA[viewport]]></category>
		<category><![CDATA[viewport meta tag]]></category>
		<category><![CDATA[visual transition]]></category>
		<category><![CDATA[web design tutorial]]></category>
		<category><![CDATA[web page layout]]></category>
		<category><![CDATA[zoom]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=867</guid>
		<description><![CDATA[For designers, the most difficult and interesting aspect of responsive web design has been the flexible nature of it. We&#8217;ve constantly in the process of trading in our tenacity for pixel perfection and embracing the web for what it really is; fluid. Today we’ll cover some steps to help you transition towards flexible web design, or as [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=867&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>For designers, the most difficult and interesting aspect of responsive web design has been the flexible nature of it. We&#8217;ve constantly in the process of trading in our tenacity for pixel perfection and embracing the web for what it really is; fluid. Today we’ll cover some steps to help you transition towards flexible web design, or as I like to call it, &#8216;Getting’ Flexy&#8217;.</p></blockquote>
<p>Responsive CSS for a web site will increase a websites visitors by attracting the mobile and tablet visitors also along with the visitors who enjoy their post in desktop version.Now the number of people who are using the tablets and mobiles to browse the web are increasing. Hence a web page layout should be adaptable for all the view port of the device in which the visitor views the webpage.Some of the tips and tricks for the designers to keep in mind when they design a responsive webpages are given below. This will be a prefect resource for responsive web design tutorial in web.<br />
<a href="http://demo.web3designs.com/responsive-css-design-tips.htm" target="_blank"><img class="aligncenter size-full wp-image-869" style="border:1px solid #ddd;padding:2px;" alt="responsive-css-design-tips" src="http://dhirajkumarsingh.files.wordpress.com/2013/02/responsive-css-design-tips.png?w=614"   /></a></p>
<h2>First, the basics</h2>
<p>Responsive web design, as introduced has three core principles:</p>
<ul>
<li>Flexible grids: percentage-based fluid columns of content.</li>
<li>Media queries: a magical tool to change your CSS based on the browser’s current state.</li>
<li>Flexible media: content such as images and video should scale with the browser’s dimensions.</li>
</ul>
<p>You’ll notice that two of those ingredients have the phrase &#8216;flexible&#8217;. This is the key differentiation of responsive web design versus other web design approaches. Let’s look at how to become flexible.</p>
<h2>Never use maximum-scale</h2>
<p>Occasionally, in an attempt to override an orientation bug in iOS, web developers will add <strong>maximum-scale=1</strong> to their <strong>meta name=&#8221;viewport&#8221;</strong> tag. Don’t do this. The unfortunate result is that users are unable zoom the page (using a pinch-zoom gesture). This is a bad practice and a huge accessibility concern. If you want your site to be &#8216;flexy&#8217;, it has to be zoom-able.</p>
<h3>Do this: you win the internet!</h3>
<pre>&lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;</pre>
<p>This will inform the browser to set the window width to the device’s width without overriding any user needs. Then in your CSS, add this brand new at-rule:</p>
<pre>/* You'll need prefixes. @-ms-viewport, @-o-viewport, etc... */
@viewport {
width: device-width;
}</pre>
<p>This is an in-progress W3C spec written to move this viewport information over to CSS. IE10 and Opera browsers support this. Go ahead and start rolling this into production sites.</p>
<h2>Responsive Images:</h2>
<p>Making the <strong>height</strong> and the <strong>width</strong> of the images to<strong> auto</strong> is best for responsive webpages (<strong>% </strong>should be used).</p>
<p>Also make sure always using a compressed image. Because images of 5mb or above are produced when captured from Digital cams. It will take time to load in mobile internet. Hence make sure you compress the image before you use it in the website.</p>
<p>Some of the sites found in the web</p>
<p><a href="http://www.imageoptimizer.net/" target="_blank">http://www.imageoptimizer.net</a></p>
<p><a href="http://jpeg-optimizer.com/" target="_blank">http://jpeg-optimizer.com/</a></p>
<h2>Mobile Navigation Menu:</h2>
<p>Navigation menu for mobile should be redesigned when the page is viewed in a smaller width.You could see how the menu is re aligned in <a href="http://demo.web3designs.com/responsive-css-design-tips.htm" target="_blank">this demo</a>, when the width is reduced. Some responsive mobile navigation menus are available in internet.</p>
<p><a href="http://webdesignerwall.com/demo/mobile-nav/" target="_blank">http://webdesignerwall.com/demo/mobile-nav/</a></p>
<h2>Relative Positioning Of Elements:</h2>
<p>Every element in the html is relative to another.Thus it is much flexible when the browser width gets changed. In the <a href="http://demo.web3designs.com/responsive-css-design-tips.htm" target="_blank">this demo</a> header and side menu positions are relative. That gives the flexibility for the menus to get aligned below the header when the width is reduced.</p>
<h2>Relative Font Size &amp; Usage Of Percentage:</h2>
<p>Instead of using px for the font sizes em is used .Thus the font size reduces relatively when the font size of the header or some other html element reduces. Percentages should be used instead of px.</p>
<p>Example: instead of setting as 1000px , 100% or 90% should be set based on the requirement. Thus the website scales based on the width. The most common example is font-size, if you wanted to set a heading <strong>font-size</strong> (20px) based on your body <strong>font-size</strong> (10px) in <strong>em</strong> units.</p>
<h3>Don’t use <code>px</code> units, use <code>em</code> units</h3>
<p>The <strong>px</strong> vs <strong>em</strong> debate is a long one but <strong>em</strong> units have proven themselves useful in responsive web design. Using <strong>em</strong> units should be familiar to <em>most</em> web developers, but worth reviewing. An <strong>em</strong> unit is a relative unit of measurement based on the parent element.</p>
<h3>Keep it relative: typography</h3>
<p>Setting your type in <strong>em</strong> units enables you to use the power of CSS to build a scale-able typographic system that grows with the viewport.</p>
<pre>body { font: 100%/1.5 serif; /* 16px */  }
h1 {  font-size: 2em; /* 32px */ }

@media (min-width: 600px) {
body { font: 112.5%; /* 18px */  }
h1 {    /* Do nothing! I'll automatically be 36px */ }
}</pre>
<p>Based on personal experience, this will save you hours per project versus going through and updating pixel values. Also, it has an accessibility benefit when a user adjusts their font size.</p>
<h3>Keep it relative: white-space</h3>
<p>Additionally, using <strong>em</strong> units for padding and margin helps create a vertical base for your design. At larger screen dimensions you can insert more white-space into your design in a healthy, consistent manner without too much labour.</p>
<pre>#hero { margin-bottom: 1em; }

@media (min-width: 600px) {
#hero { margin-bottom: 2em; }
}</pre>
<p>Using <strong>em</strong> units will help you preserve a balanced system of relative proportions. For a more advanced approach on relative sizing,</p>
<h2>Min-Width &amp; Max-Width with CSS Media Queries:</h2>
<p>Min-width and Max-width should be mentioned in the CSS along with the width.Thus imposing a constraint for the widths are better suited for scale-ability for its width.media queries should be added with the min-width or max-width as condition to display certain elements.</p>
<p>Media queries are so important for a responsive css design.</p>
<pre>@media screen and (max-width:320px)
{
    .ad_bar{ display: none }
}</pre>
<p>In the above code we are making the ads to disappear when the display device width is below 320px. By this we way we provide a better readability of the content in mobile devices.</p>
<table style="width:550px;border:1px solid #222;">
<tbody>
<tr>
<th>max-width</th>
<th>min-width</th>
</tr>
<tr>
<td>&#8216;Desktop down&#8217;</td>
<td>&#8216;Mobile first&#8217;</td>
</tr>
<tr>
<td>Start large, dig down</td>
<td>Start small, build up</td>
</tr>
<tr>
<td>Good for legacy sites</td>
<td>Future friendly</td>
</tr>
</tbody>
</table>
<h2>Go forth and be flexy!</h2>
<p>These are just the basics on the path towards fluid width nirvana. It’s important to remember that we’re all learning and it’s OK to make mistakes. I encourage you, if you haven’t already, to take the plunge and build out your own responsive design. The day when <em>most</em> websites sit on a flexible frame and are universally accessible by any device is hopefully fast approaching. Help the web become a better place.</p>
<p>If you have any more suggestions to be added , feel free to comment below.<br />
<a href="http://demo.web3designs.com/responsive-css-design-tips.htm" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#038;h=77" width="180" height="77" /></a></p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-delay/'>animation delay</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/block-level-elements/'>block level elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-media/'>css media</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/elements/'>elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/enterprise-it/'>enterprise-it</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/flexible/'>flexible</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/flexible-media/'>flexible media</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/flexible-nature/'>flexible nature</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fluid-design/'>fluid design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fluid-layout/'>fluid layout</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/free-open-source/'>free open source</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/graphical-user-interface/'>graphical user interface</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid/'>grid</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-elements/'>html elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/inline-elements/'>inline elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-2/'>javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-functions/'>javascript functions</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery/'>jquery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/magical-tool/'>magical tool</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/max-width/'>max-width</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/media-screen/'>media screen</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/min-width/'>min-width</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile-css/'>mobile CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile-device/'>mobile device</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile-navigation/'>Mobile navigation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/project-workflow/'>project workflow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/px-vs-em/'>px vs em</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/relative-position/'>relative position</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/responsive/'>responsive</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/responsive-design/'>responsive design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/responsive-web/'>responsive web</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software/'>software</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software-development/'>software-development</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/typography-effects/'>typography effects</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/viewport/'>viewport</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/viewport-meta-tag/'>viewport meta tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/web-design-tutorial/'>web design tutorial</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/web-page-layout/'>web page layout</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/zoom/'>zoom</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/867/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=867&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2013/02/24/responsive-css-design-web-design-tips/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2013/02/responsive-css-design-tips.png" medium="image">
			<media:title type="html">responsive-css-design-tips</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>2012 in review</title>
		<link>http://dhirajkumarsingh.wordpress.com/2013/02/11/2012-in-review/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2013/02/11/2012-in-review/#comments</comments>
		<pubDate>Mon, 11 Feb 2013 15:29:05 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[arts]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[entertainment]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=862</guid>
		<description><![CDATA[The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog. Here&#8217;s an excerpt: 19,000 people fit into the new Barclays Center to see Jay-Z perform. This blog was viewed about 100,000 times in 2012. If it were a concert at the Barclays Center, it would take about 5 sold-out performances for that [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=862&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog.</p>
<p><a href="http://dhirajkumarsingh.wordpress.com/2012/annual-report/"><img alt="" src="http://www.wordpress.com/wp-content/mu-plugins/annual-reports/img/2012-emailteaser.png" width="100%" /></a></p>
<p>Here&#8217;s an excerpt:</p>
<blockquote><p>19,000 people fit into the new Barclays Center to see Jay-Z perform. This blog was viewed about <strong>100,000</strong> times in 2012. If it were a concert at the Barclays Center, it would take about 5 sold-out performances for that many people to see it.</p></blockquote>
<p><a href="http://dhirajkumarsingh.wordpress.com/2012/annual-report/">Click here to see the complete report.</a></p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/arts/'>arts</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/blogging/'>blogging</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/entertainment/'>entertainment</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/media/'>media</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/photography/'>photography</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software-development/'>software-development</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/862/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=862&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2013/02/11/2012-in-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://www.wordpress.com/wp-content/mu-plugins/annual-reports/img/2012-emailteaser.png" medium="image" />
	</item>
		<item>
		<title>Pure CSS3 Animated Polaroid Gallery</title>
		<link>http://dhirajkumarsingh.wordpress.com/2013/02/10/pure-css3-animated-polaroid-gallery/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2013/02/10/pure-css3-animated-polaroid-gallery/#comments</comments>
		<pubDate>Sun, 10 Feb 2013 17:21:28 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[animation delay]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[aviation]]></category>
		<category><![CDATA[class photo album]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[css cloud]]></category>
		<category><![CDATA[CSS code]]></category>
		<category><![CDATA[css document]]></category>
		<category><![CDATA[css effects]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css hacks]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[css opacity]]></category>
		<category><![CDATA[CSS properties]]></category>
		<category><![CDATA[css property]]></category>
		<category><![CDATA[css selectors]]></category>
		<category><![CDATA[CSS technique]]></category>
		<category><![CDATA[css text-shadow]]></category>
		<category><![CDATA[css transform]]></category>
		<category><![CDATA[CSS trick]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[CSS3 animation]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[CSS3 gradients]]></category>
		<category><![CDATA[css3 Polaroid Gallery]]></category>
		<category><![CDATA[CSS3 transitons]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[fancy transition effect]]></category>
		<category><![CDATA[free open source]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[graphical user interface]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[manipulating CSS]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[page elements]]></category>
		<category><![CDATA[png transparency]]></category>
		<category><![CDATA[Polaroid Gallery]]></category>
		<category><![CDATA[Polaroid Picture]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[smooth transitions]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[taj agra]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[transportation]]></category>
		<category><![CDATA[visual transition]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=846</guid>
		<description><![CDATA[Normally, Polaroid Gallery is a CSS3 &#38; jQuery Image Gallery plugin for Media Library. It is used to overlay images as Polaroid pictures on the current page or post. It’s a sure thing that CSS3 features like transitions, animations and transforms can add extra spice to your designs. In this article you will see how you can build [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=846&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>Normally, Polaroid Gallery is a CSS3 &amp; jQuery Image Gallery plugin for Media Library. It is used to overlay images as Polaroid pictures on the current page or post.</p></blockquote>
<p style="text-align:left;">It’s a sure thing that CSS3 features like transitions, animations and transforms can add extra spice to your designs. In this article you will see how you can build an awesome CSS3 animated  Polaroid pictures gallery with some of these cool features.  This is something I wished to do for a while and I finally made it.<a href="http://demo.web3designs.com/css3-animated-polaroid-gallery.html" target="_blank"><img class="aligncenter size-full wp-image-847" style="border:1px solid #dddddd;padding:2px;" alt="css3-animated-polaroid-gallery" src="http://dhirajkumarsingh.files.wordpress.com/2013/02/css3-animated-polaroid-gallery.png?w=614"   /></a></p>
<h3>The HTML</h3>
<p>The HTML structure hasn&#8217;t changed at all, simple and minimal. Here’s an excerpt:</p>
<pre>&lt;div class="photo-album"&gt;
&lt;h2&gt;Dhiraj, Geetu &amp; Atharv at Taj ↦ Agra
  &lt;a class="large polaroid img1" href="#"&gt; 
    &lt;img alt="" src="https://lh3.googleusercontent.com/-73u0oSgSX0w/UQ6PZ0Z1wOI/AAAAAAAADPE/57bc9C0BEG0/s512/Agra-trip%252520112.JPG" /&gt; 
    Camel wants to kiss Atharv. &lt;/a&gt; 
  &lt;a class="polaroid img2" href="#"&gt; 
    &lt;img alt="" src="https://lh4.googleusercontent.com/-cPFum21LNBA/UQ6PXyb2ISI/AAAAAAAADPM/kJLhIyvx_2k/s512/Agra-trip%252520147.JPG" /&gt; 
    My dearest one.. Atharv with Geetu. — at Taj Mahal&lt;/a&gt; 
  &lt;a class="small polaroid img3" href="#"&gt; 
    &lt;img alt="" src="https://lh6.googleusercontent.com/-Bz8NR-oKxGw/UQ6PguAxrsI/AAAAAAAADNY/B7i8X02vnbg/s512/Agra-trip%252520153.JPG" /&gt; 
    Ferntastic&lt;/a&gt; 
  &lt;a class="medium polaroid img4" href="#"&gt; 
    &lt;img alt="" src="https://lh4.googleusercontent.com/-gB3RNt_3aos/UQ6Pmx5egoI/AAAAAAAADKM/lensH9ojFd0/s512/Agra-trip%252520154.JPG" /&gt; 
    My dearest one.. Atharv with Geetu. — at Taj Mahal&lt;/a&gt; 
  &lt;a class="polaroid img5" href="#"&gt; 
    &lt;img alt="" src="https://lh5.googleusercontent.com/-YbVIBYilZ-M/UQ6P0w2PC8I/AAAAAAAADNc/kKzFy9k51D8/s512/Agra-trip%252520170.JPG" /&gt; 
    Atharv &amp; Geetu with Dhiraj.. Taj in background&lt;/a&gt; 
  &lt;a class="polaroid img6" href="#"&gt; 
    &lt;img alt="" src="https://lh6.googleusercontent.com/-IedPhDIDTcg/UQ6P5NG_hSI/AAAAAAAADKw/frG26WPd_OY/s512/Agra-trip%252520175.JPG" /&gt; 
    Atharv in a cute pose.. Taj mahal in background&lt;/a&gt; 
  &lt;a class="polaroid img7" href="#"&gt; 
    &lt;img alt="" src="https://lh6.googleusercontent.com/-fhOKmDe-6S4/UQ6QBnHRDhI/AAAAAAAADPw/StGk4el6PVI/s512/Agra-trip%252520192.JPG" /&gt; 
    Atharv with his papa Dhiraj&lt;/a&gt; 
  &lt;a class="small polaroid img8" href="#"&gt; 
    &lt;img alt="" src="https://lh4.googleusercontent.com/-lUXHF4hGxak/UQ6QF_7iZnI/AAAAAAAADOs/-agtNNnnYbU/s512/Agra-trip%252520193.JPG" /&gt; 
    awesome&lt;/a&gt; 
  &lt;a class="medium polaroid img9" href="#"&gt; 
    &lt;img alt="" src="https://lh3.googleusercontent.com/-a-kezOzwNR8/UQ6QNJpEa4I/AAAAAAAADNk/FAN4Z3LDy2Y/s512/Agra-trip%252520206.JPG" /&gt; 
    Geetu with Dhiraj&lt;/a&gt; 
  &lt;a class="polaroid img10" href="#"&gt; 
    &lt;img alt="" src="https://lh6.googleusercontent.com/-J3Gcspy0HKg/UQ6QXk3ZV9I/AAAAAAAADQE/0PyQD_VvC8o/s512/Agra-trip%252520221.JPG" /&gt; 
    Nice one..&lt;/a&gt; 
  &lt;a class="small polaroid img11" href="#"&gt; 
    &lt;img alt="" src="https://lh5.googleusercontent.com/-OLpIvUAwZ6E/UQ6QY9gnPwI/AAAAAAAADNo/00eTz4E3_GI/s512/Agra-trip%252520223.JPG" /&gt; 
    Sulphurous&lt;/a&gt; 
  &lt;a class="small polaroid img12" href="#"&gt; 
    &lt;img alt="" src="https://lh6.googleusercontent.com/-V-NJ8w3N5hs/UQ6QYqtZVOI/AAAAAAAADOw/FcjS2sgQXxA/s512/Agra-trip%252520229.JPG" /&gt; 
    Atharv with his papa..&lt;/a&gt; &lt;a class="small polaroid img13" href="#"&gt; 
    &lt;img alt="" src="https://lh4.googleusercontent.com/-W1T4Z6_xwlQ/UQ6QAdQwuzI/AAAAAAAADNg/vSiGaoo7_TU/s512/Agra-trip%252520188.JPG" /&gt; 
    Atharv with his papa Dhiraj&lt;/a&gt; 
  &lt;a class="small polaroid img14" href="#"&gt; 
    &lt;img alt="" src="https://lh6.googleusercontent.com/-Bz8NR-oKxGw/UQ6PguAxrsI/AAAAAAAADNY/B7i8X02vnbg/s512/Agra-trip%252520153.JPG" /&gt; 
    Nice one..&lt;/a&gt; 
  &lt;a class="polaroid img15" href="#"&gt; 
    &lt;img alt="" src="https://lh4.googleusercontent.com/-W1T4Z6_xwlQ/UQ6QAdQwuzI/AAAAAAAADNg/vSiGaoo7_TU/s512/Agra-trip%252520188.JPG" /&gt; 
    Atharv with his papa Dhiraj&lt;/a&gt; 
&lt;/div&gt;</pre>
<h3>CSS</h3>
<pre>a.polaroid {
		display: block;
		text-decoration: none;
		color: #333;
		padding: 10px 10px 20px 10px;
		width: 150px;
		border: 1px solid #d7d7d7;
		background-color: white; background:rgba(255,255,255,.9);
		z-index: 2;
		font-size: 0.7em;
		-webkit-box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3),inset 0 0 0.7em rgba(0,0, 0, 0.4);;
		-moz-box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3),inset 0 0 0.7em rgba(0,0, 0, 0.4);;
		box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3),inset 0 0 0.7em rgba(0,0, 0, 0.4);-webkit-filter: blur(1px); border-radius:5px;
		-webkit-transition: all 0.5s ease-in; text-align:center
	}
	a.polaroid:hover, a.polaroid:focus, a.polaroid:active {
		z-index: 999;
		border-color: #999;
		-webkit-box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4),inset 0 0 0.7em rgba(0,0, 0, 0.4);
		-moz-box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4),inset 0 0 0.7em rgba(0,0, 0, 0.4);
		box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4),inset 0 0 0.7em rgba(0,0, 0, 0.4);
		-webkit-transform: rotate(0deg) scale(1.05);
		-moz-transform: rotate(0deg) scale(1.05);
		transform: rotate(0deg) scale(1.05);-webkit-filter: blur(0px);
	}
	.polaroid img {
		margin: 0 0 15px;
		width: 150px;
		height: 120px;
	}

	a img {
		border: none;
		display: block;
	}

	.photo-album {
		position: relative; width: 80%; margin: 0 auto; max-width: 70em; height: 450px; margin-top:2.5em; min-width: 800px; max-width: 900px;
	}
	.photo-album .polaroid {
		position: absolute;
	}
	.photo-album h2 {
		position: absolute; z-index: 5; top: 150px; text-align: center; width: 100%; line-height: 2; 
	}
	.photo-album h2 span {
		background-color: white; background:rgba(255,255,255,.8);
		font-family: 'Satisfy', cursive;
		padding: 0.4em 0.8em 0.3em 0.8em;
		-webkit-box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3);
		-moz-box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3);
		box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3);
		border-radius: 5px; border:1px solid #CCC
	}
	.photo-album .small {
		width: 75px; padding: 6px 6px 12px 6px; font-size: 0.6em;
	}
	.photo-album .small img {
		width: 75px; height: 60px;
	}
	.photo-album .medium {
		width: 200px; padding: 13px 13px 26px 13px; font-size: 0.8em;
	}
	.photo-album .medium img {
		width: 200px; height: 165px;
	}
	.photo-album .large {
		width: 300px; padding: 20px 20px 30px 20px; font-size: 1em;
	}
	.photo-album .large img {
		width: 300px; height: 250px
	}
	.photo-album .img1 {
		bottom: 10px; right: 365px; 
		-webkit-transform: rotate(10deg);
		-moz-transform: rotate(10deg);
		transform: rotate(10deg);
	}
	.photo-album .img2 {
		top: 50px; right: 20px;
		-webkit-transform: rotate(-4deg);
		-moz-transform: rotate(-4deg);
		transform: rotate(-4deg);
	}
	.photo-album .img3 {
		left: 400px; top: 0;
		-webkit-transform: rotate(-5deg);
		-moz-transform: rotate(-5deg);
		transform: rotate(-5deg);
	}
	.photo-album .img4 {
		top: 10px; left: 495px;
		-webkit-transform: rotate(-20deg);
		-moz-transform: rotate(-20deg);
		transform: rotate(-20deg);
	}
	.photo-album .img5 {
		bottom: 0; right: 0;
		-webkit-transform: rotate(1deg);
		-moz-transform: rotate(1deg);
		transform: rotate(1deg);
	}
	.photo-album .img6 {
		bottom: 10px; right: 156px;
		-webkit-transform: rotate(6deg);
		-moz-transform: rotate(6deg);
		transform: rotate(6deg);
	}
	.photo-album .img7 {
		bottom:0; left:400px;
		-webkit-transform: rotate(-10deg);
		-moz-transform: rotate(-10deg);
		transform: rotate(-10deg);
	}
	.photo-album .img8 {
		bottom: -20px; left: 700px;
		-webkit-transform: rotate(-8deg);
		-moz-transform: rotate(-8deg);
		transform: rotate(-8deg);
	}
	.photo-album .img9 {
		bottom: 0; left: 0;
		-webkit-transform: rotate(-8deg);
		-moz-transform: rotate(-8deg);
		transform: rotate(-8deg);
	}
	.photo-album .img10 {
		top: 0; left: 20px;
		-webkit-transform: rotate(8deg);
		-moz-transform: rotate(8deg);
		transform: rotate(8deg);
	}
	.photo-album .img11 {
		top: 0; right: 0;
		-webkit-transform: rotate(-8deg);
		-moz-transform: rotate(-8deg);
		transform: rotate(-8deg);
	}
	.photo-album .img12 {
		top: 0; left: 680px;
		-webkit-transform: rotate(18deg);
		-moz-transform: rotate(18deg);
		transform: rotate(18deg);
	}
	.photo-album .img13 {
		bottom: -20px; right: 630px;
		-webkit-transform: rotate(4deg);
		-moz-transform: rotate(4deg);
		transform: rotate(4deg);
	}
	.photo-album .img14 {
		top: 90px; left: 430px;
		-webkit-transform: rotate(15deg);
		-moz-transform: rotate(15deg);
		transform: rotate(15deg);
	}
	.photo-album .img15 {
		left:176px; top:20px;
		-webkit-transform: rotate(-8deg);
		-moz-transform: rotate(-8deg);
		transform: rotate(-8deg);
	}	
	a:hover, a:focus {
		z-index: 5;
	}</pre>
<p style="text-align:center;"><a href="http://demo.web3designs.com/css3-animated-polaroid-gallery.html" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#038;h=77" width="180" height="77" /></a></p>
<h3>Your turn</h3>
<p>I hope you enjoyed this article and the techniques I used. Please share your comments and questions below!</p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-delay/'>animation delay</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/aviation/'>aviation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/class-photo-album/'>class photo album</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/community/'>community</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-cloud/'>css cloud</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-code/'>CSS code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-document/'>css document</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-effects/'>css effects</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-hacks/'>css hacks</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-opacity/'>css opacity</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-properties/'>CSS properties</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-property/'>css property</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-selectors/'>css selectors</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-technique/'>CSS technique</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-text-shadow/'>css text-shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-transform/'>css transform</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-trick/'>CSS trick</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-animation/'>CSS3 animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-gradients/'>CSS3 gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-polaroid-gallery/'>css3 Polaroid Gallery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-transitons/'>CSS3 transitons</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/elements/'>elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/enterprise-it/'>enterprise-it</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fancy-transition-effect/'>fancy transition effect</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/free-open-source/'>free open source</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/graphical-user-interface/'>graphical user interface</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/manipulating-css/'>manipulating CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/page-elements/'>page elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/png-transparency/'>png transparency</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/polaroid-gallery/'>Polaroid Gallery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/polaroid-picture/'>Polaroid Picture</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/science/'>science</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/smooth-transitions/'>smooth transitions</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/taj-agra/'>taj agra</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transportation/'>transportation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/846/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/846/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=846&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2013/02/10/pure-css3-animated-polaroid-gallery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2013/02/css3-animated-polaroid-gallery.png" medium="image">
			<media:title type="html">css3-animated-polaroid-gallery</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=614" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>Cool inset Text Effect with CSS3 Text-Shadow</title>
		<link>http://dhirajkumarsingh.wordpress.com/2013/01/20/cool-inset-text-effect-with-css3-text-shadow/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2013/01/20/cool-inset-text-effect-with-css3-text-shadow/#comments</comments>
		<pubDate>Sun, 20 Jan 2013 18:19:28 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[animated gradient]]></category>
		<category><![CDATA[animation delay]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[background gradients]]></category>
		<category><![CDATA[button style]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[css bugs]]></category>
		<category><![CDATA[CSS code]]></category>
		<category><![CDATA[css document]]></category>
		<category><![CDATA[css effects]]></category>
		<category><![CDATA[css file]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css image]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[css opacity]]></category>
		<category><![CDATA[CSS properties]]></category>
		<category><![CDATA[css property]]></category>
		<category><![CDATA[css rules]]></category>
		<category><![CDATA[css selector]]></category>
		<category><![CDATA[CSS technique]]></category>
		<category><![CDATA[css text-shadow]]></category>
		<category><![CDATA[CSS trick]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[CSS3 animation]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[CSS3 gradients]]></category>
		<category><![CDATA[design aspect]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[free open source]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[gradients]]></category>
		<category><![CDATA[graphical user interface]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[inner shadow]]></category>
		<category><![CDATA[inset]]></category>
		<category><![CDATA[inset text]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linear gradient]]></category>
		<category><![CDATA[linear gradients]]></category>
		<category><![CDATA[lucida grande]]></category>
		<category><![CDATA[mobile CSS]]></category>
		<category><![CDATA[optimized CSS]]></category>
		<category><![CDATA[paragraph text]]></category>
		<category><![CDATA[shine text]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[stylesheet]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[text preview]]></category>
		<category><![CDATA[text shadow]]></category>
		<category><![CDATA[text shadows]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[typography effects]]></category>
		<category><![CDATA[visual transition]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=830</guid>
		<description><![CDATA[So, I have seen a few tutorials online about using text-shadow to create a basic inset text effect, but they are all lacking the real design aspect that makes the type look like it is actually INSET. That aspect is the inner shadow. Introduction I played around with trying to hack box-shadow into background-image in the same way that you can [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=830&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>So, I have seen a few tutorials online about using <code>text-shadow</code> to create a basic inset text effect, but they are all lacking the real design aspect that makes the type look like it is actually INSET. That aspect is the inner shadow.</p></blockquote>
<h3>Introduction</h3>
<p>I played around with trying to hack <code>box-shadow</code> into <code>background-image</code> in the same way that you can add linear gradients to text, but to no avail.</p>
<p>Well, in any case, I finally was able to get something to work, and yes, it is pretty killer.</p>
<p style="text-align:center;"><a href="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/insetText.jpg"><br />
</a><a href="http://demo.web3designs.com/CSS3-cool-effect-insetText.htm" target="_blank"><img class="aligncenter size-full wp-image-832" style="border:1px solid #ddd;padding:2px;" alt="insetText" src="http://dhirajkumarsingh.files.wordpress.com/2013/01/insettext.jpg?w=614"   /></a></p>
<p>That’s it right there. But, let’s take a look at how and why this works.</p>
<p>First let’s start with defining our class and setting our font. We have styled our div and our body and now we want this text to look like it is stamped into to page.</p>
<h3>The CSS</h3>
<p style="text-align:center;"><a href="http://demo.web3designs.com/CSS3-cool-effect-insetText.htm" target="_blank"><img class="aligncenter" style="border:1px solid #ddd;padding:2px;" title="step1inset" alt="" src="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/Untitled.html-THS-Server-300x74.jpg" width="300" height="74" /></a></p>
<pre>.insetText {
        font-family: Lucida Grande;
}</pre>
<p>The next step we want to take is to set the <code>background-color</code> of the text to the color that we want the inset to be. So…</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/CSS3-cool-effect-insetText.htm" target="_blank"><img class="aligncenter" style="border:1px solid #ddd;padding:2px;" title="step2inset" alt="" src="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/step2inset-300x71.jpg" width="300" height="71" /></a></p>
<pre>.insetText {
        font-family: Lucida Grande;
        background-color: #666666;
}</pre>
<p>Next, we are going to use the <code>background-clip</code> CSS3 property to create a clipping mask using the text to mask the background. Now if you are a designer, you probably already know how a clipping mask works. The color black is transparent to the background and the color white is opaque. Thus, the image behind the mask will show through on only the black parts and the white parts will ‘clip’ it. Remember that, because it’s important.</p>
<p>Remember, CSS3 is not standard yet and may not be supported in older browsers. For now, it’s best to use the standard AND browser specific properties for any CSS3, so…</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/CSS3-cool-effect-insetText.htm" target="_blank"><img class="aligncenter" style="border:1px solid #ddd;padding:2px;" title="step1inset" alt="" src="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/Untitled.html-THS-Server-300x74.jpg" width="300" height="74" /></a></p>
<pre>.insetText {
        font-family: Lucida Grande;
        background-color: #666666;
        -webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;
}</pre>
<p>Now, I know. It doesn’t look like that did anything, whatsoever. We are back where we started, right? Wrong, in truth, the background color has been clipped behind the text, so it only shows through where the text is. The problem is that the browser default CSS is to make text black. So, now we simply use <code>color</code> to make the text transparent.</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/CSS3-cool-effect-insetText.htm" target="_blank"><img class="aligncenter" style="border:1px solid #ddd;padding:2px;" title="step4inset" alt="" src="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/step4inset-300x72.jpg" width="300" height="72" /></a></p>
<pre>.insetText {
        font-family: Lucida Grande;
        background-color: #666666;
        -webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;
        color: transparent;
}</pre>
<p>Now we’re getting somewhere. We have taken transparent text and used it to clip it’s grey background. Here is where the magic happens. We will use the <code>text-shadow</code> property with <code>rgba</code> colors. Since the text is transparent, the entire shadow, even what is normally hidden by the text in front of it, will show. If we offset the shadow vertically, it will appear as if it is on the inside of the text. And if we blur the edges, it should actually appear like an inset shadow, since the darker clipped background fading into the white shadow right? And the shadow that falls outside of the clipping mask should appear to glow slightly, since that it’s closer in color to the contrasting background! So…</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/CSS3-cool-effect-insetText.htm" target="_blank"><img class="aligncenter" style="border:1px solid #ddd;padding:2px;" title="step5inset" alt="" src="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/step5inset-300x71.jpg" width="300" height="71" /></a></p>
<pre>.insetText {
        font-family: Lucida Grande;
        background-color: #666666;
        -webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;
        color: transparent;
        text-shadow: rgba(255,255,255,1.0) 0px 3px 3px;
}</pre>
<p>Yeah, that looks pretty good, right? I just don’t like how the inside of the text in now white. It looks kind of unnatural, and it really takes away from the outer glow that gives it the inset look. So let’s revise our shadow color by dropping it’s opacity or ‘a’ value to 0.5. Like so…</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/CSS3-cool-effect-insetText.htm" target="_blank"><img class="aligncenter" style="border:1px solid #ddd;padding:2px;" title="final" alt="" src="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/final-300x72.jpg" width="300" height="72" /></a></p>
<pre>.insetText {
        font-family: Lucida Grande;
        background-color: #666666;
        -webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;
        color: transparent;
        text-shadow: rgba(255,255,255,0.5) 0px 3px 3px;
}</pre>
<p>Perfect! Now we have a completely CSS based inset text effect! We can now add this class to any text element on our websites, without having to open Photoshop or Illustrator, create the document, design the effect, save the image, upload the image, and then place the image in our markup where it will slow down our load time. You would add this to your markup like so…</p>
<pre>&lt;h1&gt;This is inset text&lt;/h1&gt;</pre>
<p>This solution is great for headings. The smaller you make your text the smaller you will need to make your <code>text-shadow</code>.</p>
<p><strong>NOTE: This method is currently only supported by Webkit browser like Google Chrome and Apple Safari.</strong></p>
<p>Thanks for reading, and I hope this helped!</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/CSS3-cool-effect-insetText.htm" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#038;h=77&#038;h=77" width="180" height="77" /></a></p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animated-gradient/'>animated gradient</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-delay/'>animation delay</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-gradients/'>background gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/button-style/'>button style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-bugs/'>css bugs</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-code/'>CSS code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-document/'>css document</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-effects/'>css effects</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-file/'>css file</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-image/'>css image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-opacity/'>css opacity</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-properties/'>CSS properties</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-property/'>css property</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-rules/'>css rules</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-selector/'>css selector</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-technique/'>CSS technique</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-text-shadow/'>css text-shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-trick/'>CSS trick</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-animation/'>CSS3 animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-gradients/'>CSS3 gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/design-aspect/'>design aspect</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/free-open-source/'>free open source</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gadgets/'>gadgets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gradients/'>gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/graphical-user-interface/'>graphical user interface</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid/'>grid</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/inner-shadow/'>inner shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/inset/'>inset</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/inset-text/'>inset text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/internet/'>internet</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/linear-gradient/'>linear gradient</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/linear-gradients/'>linear gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/lucida-grande/'>lucida grande</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile-css/'>mobile CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/optimized-css/'>optimized CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/paragraph-text/'>paragraph text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/shine-text/'>shine text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/stylesheet/'>stylesheet</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/text-preview/'>text preview</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/text-shadow/'>text shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/text-shadows/'>text shadows</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/typography-effects/'>typography effects</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/830/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/830/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=830&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2013/01/20/cool-inset-text-effect-with-css3-text-shadow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2013/01/insettext.jpg" medium="image">
			<media:title type="html">insetText</media:title>
		</media:content>

		<media:content url="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/Untitled.html-THS-Server-300x74.jpg" medium="image">
			<media:title type="html">step1inset</media:title>
		</media:content>

		<media:content url="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/step2inset-300x71.jpg" medium="image">
			<media:title type="html">step2inset</media:title>
		</media:content>

		<media:content url="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/Untitled.html-THS-Server-300x74.jpg" medium="image">
			<media:title type="html">step1inset</media:title>
		</media:content>

		<media:content url="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/step4inset-300x72.jpg" medium="image">
			<media:title type="html">step4inset</media:title>
		</media:content>

		<media:content url="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/step5inset-300x71.jpg" medium="image">
			<media:title type="html">step5inset</media:title>
		</media:content>

		<media:content url="http://blog.gordonwritescode.com/wp-content/uploads/2011/04/final-300x72.jpg" medium="image">
			<media:title type="html">final</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#38;h=77" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>CSS3 3D effect, Shine text with css3 keyframe animation, Scrolling Page Background with jQuery &#8211; Happy New Year</title>
		<link>http://dhirajkumarsingh.wordpress.com/2013/01/01/css3-3d-effect-shine-text-with-css3-keyframe-animation-scrolling-page-background-with-jquery-happy-new-year/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2013/01/01/css3-3d-effect-shine-text-with-css3-keyframe-animation-scrolling-page-background-with-jquery-happy-new-year/#comments</comments>
		<pubDate>Tue, 01 Jan 2013 03:14:56 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[animated gradient]]></category>
		<category><![CDATA[animated gradients]]></category>
		<category><![CDATA[Animated image]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[background effect]]></category>
		<category><![CDATA[background size]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[css cloud]]></category>
		<category><![CDATA[css effects]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css image]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[css opacity]]></category>
		<category><![CDATA[CSS technique]]></category>
		<category><![CDATA[css text-shadow]]></category>
		<category><![CDATA[CSS trick]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[CSS3 gradients]]></category>
		<category><![CDATA[CSS3 keyframe animation]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[frame animation]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript functions]]></category>
		<category><![CDATA[javascript programmers]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[key frames]]></category>
		<category><![CDATA[keyframe animation]]></category>
		<category><![CDATA[line tag]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mobile CSS]]></category>
		<category><![CDATA[open source javascript]]></category>
		<category><![CDATA[page elements]]></category>
		<category><![CDATA[paragraph text]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project workflow]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[shine text]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[text shadow]]></category>
		<category><![CDATA[text shadows]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[visual transition]]></category>
		<category><![CDATA[window loads]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=814</guid>
		<description><![CDATA[On the occasion of New Year 2013, I thought to wish this festival by creating a nice webpage greeting. So, today I created this greeting card using 3D  and shining text effect with the help of CSS3, and scrolling background with JavaScript. I hope you all will enjoy this holiday as well as my web-card too  . Introduction Greeting, today [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=814&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>On the occasion of New Year 2013, I thought to wish this festival by creating a nice webpage greeting. So, today I created this greeting card using 3D  and shining text effect with the help of CSS3, and scrolling background with JavaScript. I hope you all will enjoy this holiday as well as my web-card too <img alt=":)" src="http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif?m=1129645325g" /> .</p></blockquote>
<h3>Introduction</h3>
<p>Greeting, today we are going to make a scrolling background effect. This script will move the background of any html tag, either vertically or horizontally. I used this script in one of my greeting card too which has a blue sky with clouds and it makes the whole website came alive. I think that&#8217;s pretty impressive. In this card you will find texts with different CSS effects like: 3D emboss, continuous spotlight shine effect, text shadow etc.</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/css3-3D-effect-shine-text-with-scrolling-background.html" target="_blank" rel="attachment wp-att-822"><img class="aligncenter size-full wp-image-822" style="padding:2px;border:1px solid #dddddd;" alt="3d-shine-text-css3-scrolling-background-happy-new-year" src="http://dhirajkumarsingh.files.wordpress.com/2013/01/3d-shine-text-css3-scrolling-background-happy-new-year.png?w=614"   /></a></p>
<h3>The CSS</h3>
<p>I have Used multiple text-shadows to create 3D text on any HTML element. No extra HTML, no extra headaches, just awesomesauce.<br />
Works in the latest builds of Safari, Chrome, Firefox, and Opera.</p>
<pre>h1 {
  margin:1.2em auto;
  font: bold 100px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff;
  text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.2), 0 20px 20px rgba(0, 0, 0, 0.15);
  -webkit-transition: .2s all linear;
}</pre>
<p>Text shine Effect created with WebKit-specific CSS3 properties. You&#8217;ll need Safari or Chrome to enjoy key-frame animation.</p>
<pre>p.shine{
    font-size: 3em;
    margin: 0 auto; padding:0;
    width: 95%;
}
.shine{
    background: #222 -webkit-gradient(linear, left top, right top, from(#ccc), to(#fff), color-stop(1, #f0f)) 0 0 no-repeat;
    background-size: 400px; -webkit-background-size: 400px; 
    -moz-background-size: 400px; -o-background-size: 400px;    
    color: rgba(255, 255, 255, 0.7);	
    background-clip: text; -webkit-background-clip: text; 
        -moz-background-clip: text; -o-background-clip: text;	
	-webkit-animation: shine 2s infinite;
	-moz-animation: shine 2s infinite;
	-o-animation: shine 2s infinite;
	-ms-animation: shine 2s infinite;
	animation: shine 2s infinite; 
}

@-webkit-keyframes shine{
    0%{background-position: top left;}
    100%{background-position: top right;}
}
@-moz-keyframes shine{
    0%{background-position: top left;}
    100%{background-position: top right;}
}
@-o-keyframes shine{
    0%{background-position: top left;}
    100%{background-position: top right;}
}
@keyframes shine{
    0%{background-position: top left;}
    100%{background-position: top right;}
}</pre>
<p>For page background I used cloud in png format.</p>
<pre>body{background:url(bg_clouds.png) 0 0}</pre>
<h3>The HTML</h3>
<pre>&lt;h1&gt;Happy New Year 2013&lt;/h1&gt;
&lt;p class="shine"&gt;The New Year is the time of unfolding horizons and the realization of dreams, may you rediscover new strength and garner faith with you, and be able to rejoice in the simple pleasures that life has to offer and put a brave front for all the challenges that may come your way.&lt;br&gt;
Wishing you a lovely New Year..&lt;/p&gt;</pre>
<h3>The JavaScript &#8211; jQuery</h3>
<p>We have to add jquery library in body first, after that we animate our page background with css background-position properties. I always prefer to use JavaScript files before close of body tag.</p>
<pre>&lt;script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;var scrollSpeed = 70; 
    var current = 0;
    function bgscroll(){
        current -= 1;   
        // move the background with backgrond-position css properties
        $('body').css("backgroundPosition", 1 ? current+"px 0" : "0 " + current+"px");   
    }
     setInterval(bgscroll, scrollSpeed);   &lt;/script&gt;</pre>
<p style="text-align:center;"><a href="http://demo.web3designs.com/css3-3D-effect-shine-text-with-scrolling-background.html" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#038;h=77" width="180" height="77" /></a></p>
<h3>Happy New Year!</h3>
<p>I hope you like the result and don’t hesitate to share your thoughts about it. Thanks for reading!</p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/3d/'>3d</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animated-gradient/'>animated gradient</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animated-gradients/'>animated gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animated-image/'>Animated image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-effect/'>background effect</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-size/'>background size</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/computer/'>computer</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-cloud/'>css cloud</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-effects/'>css effects</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-image/'>css image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-opacity/'>css opacity</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-technique/'>CSS technique</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-text-shadow/'>css text-shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-trick/'>CSS trick</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-gradients/'>CSS3 gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-keyframe-animation/'>CSS3 keyframe animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/elements/'>elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/frame-animation/'>frame animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid/'>grid</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-functions/'>javascript functions</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-programmers/'>javascript programmers</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery/'>jquery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/key-frames/'>key frames</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/keyframe-animation/'>keyframe animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/line-tag/'>line tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile-css/'>mobile CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/open-source-javascript/'>open source javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/page-elements/'>page elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/paragraph-text/'>paragraph text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/plugin/'>plugin</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/programming/'>programming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/project-workflow/'>project workflow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/science/'>science</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/shine-text/'>shine text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software/'>software</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software-development/'>software-development</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/text-shadow/'>text shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/text-shadows/'>text shadows</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/window-loads/'>window loads</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/814/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/814/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=814&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2013/01/01/css3-3d-effect-shine-text-with-css3-keyframe-animation-scrolling-page-background-with-jquery-happy-new-year/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif?m=1129645325g" medium="image">
			<media:title type="html">:)</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2013/01/3d-shine-text-css3-scrolling-background-happy-new-year.png" medium="image">
			<media:title type="html">3d-shine-text-css3-scrolling-background-happy-new-year</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>Snow-Fall Effect with JavaScript &#8211; Creating Merry Christmas Greetings</title>
		<link>http://dhirajkumarsingh.wordpress.com/2012/12/18/snow-fall-effect-with-javascript-creating-mary-christmas-greetings/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2012/12/18/snow-fall-effect-with-javascript-creating-mary-christmas-greetings/#comments</comments>
		<pubDate>Tue, 18 Dec 2012 18:15:42 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[Animated Background]]></category>
		<category><![CDATA[animated card]]></category>
		<category><![CDATA[Animated image]]></category>
		<category><![CDATA[animation delay]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[animation effect]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[audio tag]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[christmas]]></category>
		<category><![CDATA[christmas card]]></category>
		<category><![CDATA[Christmas greeting]]></category>
		<category><![CDATA[christmas greeting card]]></category>
		<category><![CDATA[christmas website]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[CSS technique]]></category>
		<category><![CDATA[CSS trick]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[CSS3 gradients]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[free open source]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[graphical user interface]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html elements]]></category>
		<category><![CDATA[html snow]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[html5 tag]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript functions]]></category>
		<category><![CDATA[javascript library]]></category>
		<category><![CDATA[javascript programmers]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jQuery animation]]></category>
		<category><![CDATA[jquery snow]]></category>
		<category><![CDATA[jquery snowfall]]></category>
		<category><![CDATA[keyframe animation]]></category>
		<category><![CDATA[line tag]]></category>
		<category><![CDATA[loading animation]]></category>
		<category><![CDATA[merry chirstmas]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[ms filter]]></category>
		<category><![CDATA[open source javascript]]></category>
		<category><![CDATA[page elements]]></category>
		<category><![CDATA[paragraph text]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[project workflow]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[snow]]></category>
		<category><![CDATA[snow fall animation]]></category>
		<category><![CDATA[snow javascript]]></category>
		<category><![CDATA[snow-fall script]]></category>
		<category><![CDATA[snowfall]]></category>
		<category><![CDATA[snowfall javascript]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[visual transition]]></category>
		<category><![CDATA[window loads]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=769</guid>
		<description><![CDATA[On the occasion of Christmas and winter Holidays, I thought to wish this festival by create a nice webpage greetings. So, today I had created this Christmas greeting card using snow-fall effect with help of CSS3 and JavaScript. I hope you all will enjoy this holiday and my web-card too . Today we will create a Christmas greeting card using CSS3 and jQuery. [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=769&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>On the occasion of Christmas and winter Holidays, I thought to wish this festival by create a nice webpage greetings. So, today I had created this Christmas greeting card using snow-fall effect with help of CSS3 and JavaScript. I hope you all will enjoy this holiday and my web-card too <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p></blockquote>
<p>Today we will create a Christmas greeting card using CSS3 and jQuery. There are many things we can do with <a href="http://dhirajkumarsingh.wordpress.com/2012/05/25/css3-loading-animation/">CSS3</a> and javascript. We’ll use <a href="http://demo.web3designs.com/snowstorm.dg.js" target="_blank">snowfall.dg.js</a> for creating these snow.</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/javascript-snow-fall-mary-christmas-greetings-jquery.html" target="_blank" rel="attachment wp-att-772"><img class="aligncenter size-full wp-image-772" style="border:1px solid #ccc;padding:2px;" alt="snowfall-effect-javascript-christmas-greetings" src="http://dhirajkumarsingh.files.wordpress.com/2012/12/snowfall-effect-javascript-christmas-greetings.png?w=614"   /></a></p>
<h3>Features and Principle</h3>
<p>Note: Snowfall Plugin is Less than 12Kb in size. There are many options for customize and use this plugin as per your requirement. Some features are:</p>
<ul>
<li>No need to add any image for snow.</li>
<li>No need to add any JavaScript library.</li>
<li>You can use any html element in place of snow.</li>
<li>Change the Color of Snow by using hexadecimal value.</li>
<li>Also support in iPhone, iPad and Mobile devices.</li>
<li>Snow-fall movement with mouse/cursor.</li>
<li>Stick on bottom.</li>
<li>Snow melt effect.</li>
<li>Twinkle effect &#8211; you can use this also if you want star-fall <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>More options..</li>
</ul>
<p>What this script does is adds snow-fall to the body. You can find more options in <a href="http://demo.web3designs.com/snowstorm.dg.js" target="_blank">snowfall.dg.js</a>.</p>
<h3>The CSS</h3>
<p>No special css required for snow fall effect. But in this greeting card, I have used css for background and my greeting message.</p>
<pre>body{
         font-size:18px; 
         background:#badaf3 url(merry_chirstmas-wide.jpg) 100% 0 no-repeat; 
         background-size:cover; 
         font-family: 'IM Fell Double Pica', georgia, serif;
}
#welcome{
         font-size:2em; 
         width:40%; 
         margin:4%; 
         text-align:center; 
         background-color:#fff; 
         -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
         background:rgba(255,255,255,.75); 
         border-radius:10px; 
         box-shadow:4px 4px 10px 0 rgba(20,20,20,.6); 
         text-shadow: 2px 2px 3px #fff; 
         font-style:italic; 
         padding:1em; 
         color:#700; 
         color:rgba(120,0,20,.9)
}</pre>
<h3>The Html</h3>
<pre>&lt;div id="welcome"&gt;May the miracle of Christmas fill your heart with 
warmth &amp; love. 
Christmas is the time of giving and sharing.
It is the time of loving and forgiving. 
Hope you and your family have
wonderful Holiday... &amp;... Merry Christmas to Everyone! &lt;/div&gt;</pre>
<h3>Snowfall – The javascript</h3>
<p>We have to add this <a href="http://demo.web3designs.com/snowstorm.dg.js" target="_blank">snowfall.dg.js</a> in body. I always prefer to use JavaScript files before close of body tag.</p>
<pre>&lt;script type="text/javascript" src="snowfall.dg.js"&gt;&lt;script&gt;</pre>
<p><a href="http://demo.web3designs.com/javascript-snow-fall-mary-christmas-greetings-jquery.html" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=614" /></a></p>
<h3>Updated!</h3>
<p>I have updated this greetings with Jingle bells music and Html5 audio tags. now our Html is</p>
<pre>&lt;div id="welcome"&gt;May the miracle of Christmas fill your heart with 
warmth &amp; love. 
Christmas is the time of giving and sharing.
It is the time of loving and forgiving. 
Hope you and your family have
wonderful Holiday... &amp;... Merry Christmas to Everyone! &lt;/div&gt;
 &lt;audio autoplay="true" loop="true"&gt;
   &lt;source src="jingle_bells_merry.ogg" type="audio/ogg"&gt;
   &lt;source src="jingle_bells_merry.mp3" type="audio/mpeg"&gt;
Your browser does not support the audio element (HTML5). Please update your Browser.
 &lt;/audio&gt;</pre>
<h3>Merry Christmas</h3>
<p>I hope you like the result and don&#8217;t hesitate to share your thoughts about it. Thanks for reading!</p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animated-background/'>Animated Background</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animated-card/'>animated card</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animated-image/'>Animated image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-delay/'>animation delay</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-effect/'>animation effect</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/apple/'>apple</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/audio/'>audio</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/audio-tag/'>audio tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/blogging/'>blogging</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/christmas/'>christmas</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/christmas-card/'>christmas card</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/christmas-greeting/'>Christmas greeting</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/christmas-greeting-card/'>christmas greeting card</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/christmas-website/'>christmas website</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-technique/'>CSS technique</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-trick/'>CSS trick</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-gradients/'>CSS3 gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/elements/'>elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/enterprise-it/'>enterprise-it</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/free-open-source/'>free open source</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/graphical-user-interface/'>graphical user interface</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid/'>grid</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-elements/'>html elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-snow/'>html snow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5-tag/'>html5 tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-2/'>javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-functions/'>javascript functions</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-library/'>javascript library</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-programmers/'>javascript programmers</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery/'>jquery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-animation/'>jQuery animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-snow/'>jquery snow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-snowfall/'>jquery snowfall</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/keyframe-animation/'>keyframe animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/line-tag/'>line tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/loading-animation/'>loading animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/merry-chirstmas/'>merry chirstmas</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/ms-filter/'>ms filter</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/open-source-javascript/'>open source javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/page-elements/'>page elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/paragraph-text/'>paragraph text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/plugin/'>plugin</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/project-workflow/'>project workflow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/science/'>science</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/snow/'>snow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/snow-fall-animation/'>snow fall animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/snow-javascript/'>snow javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/snow-fall-script/'>snow-fall script</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/snowfall/'>snowfall</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/snowfall-javascript/'>snowfall javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software-development/'>software-development</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/tips-and-tricks/'>tips and tricks</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/window-loads/'>window loads</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/769/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/769/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=769&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2012/12/18/snow-fall-effect-with-javascript-creating-mary-christmas-greetings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/12/snowfall-effect-javascript-christmas-greetings.png" medium="image">
			<media:title type="html">snowfall-effect-javascript-christmas-greetings</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple and Easy Tooltip Using jQuery &amp; CSS3</title>
		<link>http://dhirajkumarsingh.wordpress.com/2012/12/04/simple-and-easy-tooltip-using-jquery-css3/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2012/12/04/simple-and-easy-tooltip-using-jquery-css3/#comments</comments>
		<pubDate>Mon, 03 Dec 2012 19:32:50 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[animation delay]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[css tooltip]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[free open source]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[graphical user interface]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[hint box]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript functions]]></category>
		<category><![CDATA[javascript programmers]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[line tag]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mouse position]]></category>
		<category><![CDATA[open source javascript]]></category>
		<category><![CDATA[page elements]]></category>
		<category><![CDATA[paragraph text]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project workflow]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[script features]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[speech bubble]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[techonology]]></category>
		<category><![CDATA[tool tip]]></category>
		<category><![CDATA[tooltip]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[visual transition]]></category>
		<category><![CDATA[web technology]]></category>
		<category><![CDATA[window loads]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=751</guid>
		<description><![CDATA[I love jQuery and the way it makes web-designer&#8217;s/developer&#8217;s life easier.  Although it took all a while to accept it. I still prefer to write my own stuff, I can&#8217;t deny its advantages.   Today I will show you a &#8220;Tool-Tip&#8221; examples of using the same very, very simple script. Features and Principle Note: Tooltip Plugin is [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=751&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>I love <a href="http://jquery.com/">jQuery</a> and the way it makes web-designer&#8217;s/developer&#8217;s life easier.  Although it took all a while to accept it. I still prefer to write my own stuff, I can&#8217;t deny its advantages.   Today I will show you a &#8220;Tool-Tip&#8221; examples of using the same very, very simple script.</p></blockquote>
<h3>Features and Principle</h3>
<p>Note: Tooltip Plugin is Less than 1Kb in size.<br />
What this script does is adds an element to the body when you roll over a certain object. That element&#8217;s appearance is predefined with css (positioned absolute and styled) so all we need to do is fill the element with content, calculate mouse position and make it move accordingly. When cursor is moved over he object, element moves with it and when cursor roll out, the element is deleted.</p>
<p>Here is a  <a href="http://demo.web3designs.com/tooltip-Easy-Tooltip-Using-jQuery.html" target="_blank">example</a> where you can see this script in action.</p>
<h3>The Simplest jQuery Tooltip Ever</h3>
<p>The script takes a title attribute of an A tag and place it inside the popup element.</p>
<h3>The Html</h3>
<pre>&lt;a href="http://dhirajkumarsingh.wordpress.com" class="tooltip" title="Latest Techonology Updates in Web Technology"&gt;Roll over for tooltip&lt;/a&gt;</pre>
<h3>The CSS</h3>
<pre>#tooltip{
	position:absolute; 
        color:#fff; 
        display:none;
	border:1px solid #333; 
        border-radius:4px;
	background-color:#222; background:rgba(2,2,2,.8);
	padding:2px 5px; 
        box-shadow:2px 2px 5px 0 rgba(2,2,2,.8);
}</pre>
<h3>jQuery &#8211; The javascript</h3>
<p>First of all, we have to add jQuery library.<br />
after adding jQuery library we have to add this tooltip plugin.<br />
In this plugin you will got :</p>
<pre>this.tooltip = function(){	
	/* CONFIG */		
		xOffset = 10;
		yOffset = 20;		
		// these 2 variable determine popup's distance from the cursor
		// you might want to adjust to get the right result		
	/* END CONFIG */		
	$("a.tooltip").hover(function(e){											  
		this.t = this.title;
		this.title = "";								  
		$("body").append("<p id="tooltip">"+ this.t +"</p>"); 
                $("#tooltip") .css("top",(e.pageY - xOffset) + "px") 
                              .css("left",(e.pageX + yOffset) + "px") 
                              .fadeIn("fast"); 
         }, function(){ this.title = this.t; 
                  $("#tooltip").remove(); 
         }); 
         $("a.tooltip").mousemove(function(e){ 
                $("#tooltip") .css("top",(e.pageY - xOffset) + "px") 
               .css("left",(e.pageX + yOffset) + "px"); 
}); 
}; 
// starting the script on page load 
$(document).ready(function(){ 
              tooltip()
});
</pre>
<p align="center"><a href="http://demo.web3designs.com/tooltip-Easy-Tooltip-Using-jQuery.html" target="_blank"><img title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=614" /></a></p>
<h3>Your turn</h3>
<p>I hope you enjoyed this article and the techniques I used. Please share your comments and questions below!</p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-delay/'>animation delay</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-tooltip/'>css tooltip</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/elements/'>elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/enterprise-it/'>enterprise-it</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/free-open-source/'>free open source</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/graphical-user-interface/'>graphical user interface</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid/'>grid</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/hint-box/'>hint box</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-2/'>javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-functions/'>javascript functions</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-programmers/'>javascript programmers</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery/'>jquery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/line-tag/'>line tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mouse-position/'>mouse position</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/open-source-javascript/'>open source javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/page-elements/'>page elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/paragraph-text/'>paragraph text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/plugin/'>plugin</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/programming/'>programming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/project-workflow/'>project workflow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/science/'>science</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/script-features/'>script features</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software/'>software</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software-development/'>software-development</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/speech-bubble/'>speech bubble</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/techonology/'>techonology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/tool-tip/'>tool tip</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/tooltip/'>tooltip</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/web-technology/'>web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/window-loads/'>window loads</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/751/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/751/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=751&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2012/12/04/simple-and-easy-tooltip-using-jquery-css3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>CSS3 Buttons with Cool Effects &#8211; Pure CSS</title>
		<link>http://dhirajkumarsingh.wordpress.com/2012/11/09/css3-buttons-with-cool-effects-pure-css/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2012/11/09/css3-buttons-with-cool-effects-pure-css/#comments</comments>
		<pubDate>Thu, 08 Nov 2012 19:44:09 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[Animated Background]]></category>
		<category><![CDATA[animated gradient]]></category>
		<category><![CDATA[animated gradients]]></category>
		<category><![CDATA[animation delay]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[aviation]]></category>
		<category><![CDATA[background color]]></category>
		<category><![CDATA[background gradients]]></category>
		<category><![CDATA[background images]]></category>
		<category><![CDATA[background size]]></category>
		<category><![CDATA[Background stripes]]></category>
		<category><![CDATA[button style]]></category>
		<category><![CDATA[circular elements]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[CSS code]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css image]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[CSS technique]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[CSS3 gradients]]></category>
		<category><![CDATA[CSS3 keyframe animation]]></category>
		<category><![CDATA[cursor pointer]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[free open source]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[gradient button]]></category>
		<category><![CDATA[gradients]]></category>
		<category><![CDATA[graphical user interface]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[linear gradient]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[page elements]]></category>
		<category><![CDATA[paragraph text]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[project workflow]]></category>
		<category><![CDATA[radial gradient]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[serif text]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[transparent background]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[transportation]]></category>
		<category><![CDATA[visual transition]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=740</guid>
		<description><![CDATA[Nowadays, using subtle patterns is kinda cool so I thought why not using them also on buttons? The idea was to create some nice CSS3 patterned buttons and in this article you&#8217;ll see what I&#8217;ve been working on lately. I wrote before about CSS3 buttons, so you may want to check also these articles: CSS3 [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=740&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Nowadays, using subtle patterns is kinda cool so I thought why not using them also on buttons? The idea was to create some nice CSS3 patterned buttons and in this article you&#8217;ll see what I&#8217;ve been working on lately.</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/css3-buttons.html" target="_blank"><img class="aligncenter size-full wp-image-741" style="border:1px solid #ddd;padding:2px;" title="css3-patterned-buttons" alt="css3-patterned-buttons" src="http://dhirajkumarsingh.files.wordpress.com/2012/11/css3-patterned-buttons.png?w=614"   /></a></p>
<p><a href="http://demo.web3designs.com/css3-buttons.html" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#038;h=77" height="77" width="180" /></a></p>
<p>I wrote before about CSS3 buttons, so you may want to check also these articles:</p>
<ul>
<li><a href="http://dhirajkumarsingh.wordpress.com/2012/08/16/css3-transitions-effects-on-background-gradients/">CSS3 Transitions Effects on Background Gradients</a></li>
<li><a href="http://dhirajkumarsingh.wordpress.com/2012/04/10/create-icons-in-css-without-image/">Create Icons in CSS Without Image</a></li>
<li><a href="http://dhirajkumarsingh.wordpress.com/2012/10/02/hover-and-click-trigger-for-circular-elements-with-jquery/">Hover and Click Trigger For CIRCULAR Elements With jQuery</a></li>
</ul>
<h2>CSS3 patterned buttons features</h2>
<ul>
<li>Easy-to-use.</li>
<li>Contain the <a href="http://dhirajkumarsingh.wordpress.com/2012/08/16/css3-transitions-effects-on-background-gradients/">transitions on gradients</a> hack.</li>
<li>As you may have expected, no images used here. Instead, an base64 string is used to create the patterned effect.</li>
<li>Stilish pressed behavior when grouped.</li>
</ul>
<h2>Buttons</h2>
<p>Basically, to create a button, the only thing you have to do is this:</p>
<pre>&lt;a href="" class="button"&gt;Button&lt;/a&gt;</pre>
<p>or</p>
<pre>&lt;button class="button"&gt;Button&lt;/button&gt;</pre>
<p>You could also use something like <code>&lt;input type="submit"&gt;</code> but for best cross-browser rendering, just stick to the above.</p>
<h3>THE CSS</h3>
<pre>.button{
  display: inline-block;
  *display: inline;
  zoom: 1;
  padding: 6px 20px;
  margin: 0;
  cursor: pointer;
  border: 1px solid #bbb;
  overflow: visible;
  font: bold 13px arial, helvetica, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  color: #555;
  background-color: #ddd;
  background-image: linear-gradient(top, rgba(255,255,255,1),
                                         rgba(255,255,255,0)),
                    url(data:image/png;base64,iVBORw0KGg[...]QmCC); 
  transition: background-color .2s ease-out;
  background-clip: padding-box; /* Fix bleeding */
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
              0 2px 2px -1px rgba(0, 0, 0, .5),
              0 1px 0 rgba(255, 255, 255, .3) inset;
  text-shadow: 0 1px 0 rgba(255,255,255, .9);  
}

.button:hover{
  background-color: #eee;
  color: #555;
}

.button:active{
  background: #e9e9e9;
  position: relative;
  top: 1px;
  text-shadow: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
}</pre>
<h2>Different buttons sizes</h2>
<p>If you want to make a more prominent or a less prominent call-to-action button, you have options:</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/css3-buttons.html" target="_blank"><img class="aligncenter size-full wp-image-741" style="border:1px solid #ddd;padding:2px;" title="css3-patterned-buttons" alt="css3-patterned-buttons" src="http://dhirajkumarsingh.files.wordpress.com/2012/11/css3-patterned-buttons-different-sizes.png?w=614"   /></a></p>
<pre>&lt;button class="small button"&gt;Button&lt;/button&gt;</pre>
<p>or</p>
<pre>&lt;button class="large button"&gt;Button&lt;/button&gt;</pre>
<h3>THE CSS</h3>
<pre>/* Smaller buttons styles */

.button.small{
  padding: 4px 12px;
}

/* Larger buttons styles */

.button.large{
  padding: 12px 30px;
  text-transform: uppercase;
}

.button.large:active{
  top: 2px;
}</pre>
<h2>Various buttons colors</h2>
<p>You&#8217;ll need custom colors for successful actions or <em>negative</em> ones as delete:</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/css3-buttons.html" target="_blank"><img class="aligncenter size-full wp-image-741" style="border:1px solid #ddd;padding:2px;" title="css3-patterned-buttons" alt="css3-patterned-buttons" src="http://dhirajkumarsingh.files.wordpress.com/2012/11/css3-patterned-buttons-colored.png?w=614"   /></a></p>
<pre>&lt;button class="button"&gt;Button&lt;/button&gt;
&lt;button class="color red button"&gt;Button&lt;/button&gt;
&lt;button class="color green button"&gt;Button&lt;/button&gt;
&lt;button class="color blue button"&gt;Button&lt;/button&gt;</pre>
<h3>THE CSS</h3>
<pre>.button.color{
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
  background-image: linear-gradient(top, rgba(255,255,255,.3), 
  					 rgba(255,255,255,0)),
                    url(data:image/png;base64,iVBORw0KGg[...]QmCC);
}

/* */

.button.green{
  background-color: #57a957;
  border-color: #57a957;
}

.button.green:hover{
  background-color: #62c462;
}

.button.green:active{
  background: #57a957;
}

/* */

.button.red{
  background-color: #c43c35;
  border-color: #c43c35;
}

.button.red:hover{
  background-color: #ee5f5b;
}

.button.red:active{
  background: #c43c35;
}

/* */

.button.blue{
  background-color: #269CE9;
  border-color: #269CE9;
}

.button.blue:hover{
  background-color: #70B9E8;
}

.button.blue:active{
  background: #269CE9;
}</pre>
<h2>Disabled states</h2>
<p>In case you&#8217;re using buttons or inputs, in some cases you&#8217;ll need them to be disabled until a certain task is triggered:</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/css3-buttons.html" target="_blank"><img class="aligncenter size-full wp-image-741" style="border:1px solid #ddd;padding:2px;" title="css3-patterned-buttons" alt="css3-patterned-buttons" src="http://dhirajkumarsingh.files.wordpress.com/2012/11/css3-patterned-buttons-disabled.png?w=614"   /></a></p>
<pre>&lt;button class="button" disabled&gt;Button&lt;/button&gt;
&lt;button class="color red button" disabled&gt;Button&lt;/button&gt;
&lt;button class="color green button" disabled&gt;Button&lt;/button&gt;
&lt;button class="color blue button" disabled&gt;Button&lt;/button&gt;</pre>
<h3>THE CSS</h3>
<pre>.button[disabled], .button[disabled]:hover, .button[disabled]:active{
  border-color: #eaeaea;
  background: #fafafa;
  cursor: default;
  position: static;
  color: #999;
  /* Usually, !important should be avoided but here it's really needed <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  */
  box-shadow: none !important;
  text-shadow: none !important;
}

.green[disabled], .green[disabled]:hover, .green[disabled]:active{
  border-color: #57A957;
  background: #57A957;
  color: #D2FFD2;
}

.red[disabled], .red[disabled]:hover, .red[disabled]:active{
  border-color: #C43C35;
  background: #C43C35;
  color: #FFD3D3;
}

.blue[disabled], .blue[disabled]:hover, .blue[disabled]:active{
  border-color: #269CE9;
  background: #269CE9;
  color: #93D5FF;
}</pre>
<h2>Grouped buttons</h2>
<p>There will be cases when you&#8217;ll need to group similar call-to-action buttons:</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/css3-buttons.html" target="_blank"><img class="aligncenter size-full wp-image-741" style="border:1px solid #ddd;padding:2px;" title="css3-patterned-buttons" alt="css3-patterned-buttons" src="http://dhirajkumarsingh.files.wordpress.com/2012/11/css3-patterned-buttons-group.png?w=614"   /></a></p>
<pre>&lt;ul class="button-group"&gt;
	&lt;li&gt;&lt;button class="button"&gt;Button&lt;/button&gt;&lt;/li&gt;
	&lt;li&gt;&lt;button class="button"&gt;Button&lt;/button&gt;&lt;/li&gt;
	&lt;li&gt;&lt;button class="button"&gt;Button&lt;/button&gt;&lt;/li&gt;
	&lt;li&gt;&lt;button class="button"&gt;Button&lt;/button&gt;&lt;/li&gt;
&lt;/ul&gt;</pre>
<h3>THE CSS</h3>
<pre>.button-group,
.button-group li{
  display: inline-block;
  *display: inline;
  zoom: 1;
}

.button-group{
  font-size: 0; /* Inline block elements gap - fix */
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, .04);
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  padding: 7px;
  border-radius: 7px; 
}

.button-group li{
  margin-right: -1px; /* Overlap each right button border */
}

.button-group .button{
  font-size: 13px; /* Set the font size, different from inherited 0 */
  border-radius: 0; 
}

.button-group .button:active{
  box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset,
              5px 0 5px -3px rgba(0, 0, 0, .2) inset,
              -5px 0 5px -3px rgba(0, 0, 0, .2) inset;   
}

.button-group li:first-child .button{
  border-radius: 3px 0 0 3px;
}

.button-group li:first-child .button:active{
  box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset,
              -5px 0 5px -3px rgba(0, 0, 0, .2) inset;
}

.button-group li:last-child .button{
  border-radius: 0 3px 3px 0;
}

.button-group li:last-child .button:active{
  box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset,
              5px 0 5px -3px rgba(0, 0, 0, .2) inset;
}</pre>
<h2>Browser compatibility</h2>
<p>CSS3 patterned buttons works in all major browsers. But of course CSS3 features used here do not work in oder browsers like IE8 and below.</p>
<p><a href="http://demo.web3designs.com/css3-buttons.html" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=180&#038;h=77" height="77" width="180" /></a></p>
<h2>This is it!</h2>
<p>There are so many CSS3 buttons in the wild and I know it. Yet I&#8217;m confident that my CSS3 patterned buttons might inspire you and I hope you&#8217;ll find it useful for your future projects.</p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animated-background/'>Animated Background</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animated-gradient/'>animated gradient</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animated-gradients/'>animated gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-delay/'>animation delay</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/aviation/'>aviation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-color/'>background color</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-gradients/'>background gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-images/'>background images</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-size/'>background size</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-stripes/'>Background stripes</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/button-style/'>button style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/circular-elements/'>circular elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-code/'>CSS code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-image/'>css image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-technique/'>CSS technique</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-gradients/'>CSS3 gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-keyframe-animation/'>CSS3 keyframe animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/cursor-pointer/'>cursor pointer</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/elements/'>elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/free-open-source/'>free open source</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gadgets/'>gadgets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gradient-button/'>gradient button</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gradients/'>gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/graphical-user-interface/'>graphical user interface</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid/'>grid</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/linear-gradient/'>linear gradient</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/page-elements/'>page elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/paragraph-text/'>paragraph text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/plugin/'>plugin</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/project-workflow/'>project workflow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/radial-gradient/'>radial gradient</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/science/'>science</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/serif-text/'>serif text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software-development/'>software-development</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background/'>transparent background</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transportation/'>transportation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/740/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=740&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2012/11/09/css3-buttons-with-cool-effects-pure-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/11/css3-patterned-buttons.png" medium="image">
			<media:title type="html">css3-patterned-buttons</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=614" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/11/css3-patterned-buttons-different-sizes.png" medium="image">
			<media:title type="html">css3-patterned-buttons</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/11/css3-patterned-buttons-colored.png" medium="image">
			<media:title type="html">css3-patterned-buttons</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/11/css3-patterned-buttons-disabled.png" medium="image">
			<media:title type="html">css3-patterned-buttons</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/11/css3-patterned-buttons-group.png" medium="image">
			<media:title type="html">css3-patterned-buttons</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=614" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>Cool Typography Effects With CSS3 and jQuery</title>
		<link>http://dhirajkumarsingh.wordpress.com/2012/10/21/cool-typography-effects-with-css3-and-jquery/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2012/10/21/cool-typography-effects-with-css3-and-jquery/#comments</comments>
		<pubDate>Sun, 21 Oct 2012 18:10:36 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[animation delay]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[background size]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[css selectors]]></category>
		<category><![CDATA[CSS technique]]></category>
		<category><![CDATA[css transform]]></category>
		<category><![CDATA[CSS trick]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[CSS3 animation]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[CSS3 transitons]]></category>
		<category><![CDATA[div id]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[fancy transition effect]]></category>
		<category><![CDATA[free open source]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[graphical user interface]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript functions]]></category>
		<category><![CDATA[javascript programmers]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jQuery animation]]></category>
		<category><![CDATA[jquery plugin]]></category>
		<category><![CDATA[line tag]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[open source javascript]]></category>
		<category><![CDATA[page elements]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[png transparency]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project workflow]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[smooth transitions]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[text shadow]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[transportation]]></category>
		<category><![CDATA[typography effects]]></category>
		<category><![CDATA[visual transition]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=731</guid>
		<description><![CDATA[Today we will create a set of nice typography effects for big headlines using CSS3 and jQuery. There are many things we can do with CSS3 animations and transitions and we&#8217;ll explore some of the possibilities. Today we will create a set of nice typography effects for big headlines using CSS3 and jQuery. There are many [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=731&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>Today we will create a set of nice typography effects for big headlines using CSS3 and jQuery. There are many things we can do with <a href="http://dhirajkumarsingh.wordpress.com/2012/07/01/notification-bubble-css3-keyframe-animation/">CSS3 animations</a> and transitions and we&#8217;ll explore some of the possibilities.</p></blockquote>
<p>Today we will create a set of nice typography effects for big headlines using CSS3 and jQuery. There are many things we can do with <a href="http://dhirajkumarsingh.wordpress.com/2012/05/25/css3-loading-animation/">CSS3 animations</a> and <a href="http://dhirajkumarsingh.wordpress.com/2012/08/16/css3-transitions-effects-on-background-gradients/">transitions</a> and we&#8217;ll explore some of the possibilites.</p>
<p>We&#8217;ll be using <a href="http://demo.web3designs.com/jquery.DG_lettering.js" target="_blank">jquery.DG_lettering.js</a> in order to style single letters of the words we&#8217;ll be having in our big headlines.</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/typography-effects-with-jquery-css3.html" target="_blank"><img class="aligncenter size-full wp-image-734" style="border:1px solid #ddd;padding:2px;" title="typography-effects-with-css-jquery" alt="typography-effects-with-css-jquery" src="http://dhirajkumarsingh.files.wordpress.com/2012/10/typography-effects-with-css-jquery.jpg?w=614"   /></a></p>
<h3>THE HTML</h3>
<p>The structure will simply be an h2 element with an anchor inside. We&#8217;ll wrap the headline in a container:</p>
<pre>&lt;div id="letter-container" class="letter-container"&gt;
    &lt;h2&gt;&lt;a href="#"&gt;Sun&lt;/a&gt;&lt;/h2&gt;
&lt;/div&gt;</pre>
<p>Then we&#8217;ll call the jquery.DG_lettering.js plugin, so that every letter gets wrapped in a span.</p>
<p>This example looks crazy: we&#8217;ll create a <a href="http://dhirajkumarsingh.wordpress.com/2012/04/17/how-to-create-slick-effects-with-css3-box-shadow/">text shadow</a> that &#8220;elevates&#8221; the letters. We&#8217;ll also create a <a href="http://dhirajkumarsingh.wordpress.com/2012/05/09/before-after-pseudo-elements-syntax/">pseudo element</a> which has a superhero as background.</p>
<h3>THE CSS</h3>
<pre>.letter-container h2 a:before{
    content: '';
    position: absolute;
    z-index: 0;
    width: 525px;
    height: 616px;
    background: transparent url(superhero.png) no-repeat center center;
    background-size: 40%;
    top: 0px;
    left: 50%;
    margin-left: -277px;
    transition: all 0.3s ease-in-out;
}</pre>
<p>On hover, we will animate the background size to make the superhero larger:</p>
<pre>.letter-container h2 a:hover:before{
    background-size: 100%;
}</pre>
<p>The span will have the text-shadow that &#8220;elevates&#8221; the letters and on hover, we will move the letter down by adding a padding and changing the shadow:</p>
<pre>.letter-container h2 a span{
    color: #ff3de6;
    float:left;
    position: relative;
    z-index: 100;
    transition: all 0.3s ease-in-out;
    text-shadow:  
      0px -1px 3px #cb4aba, 
      0 4px 3px #934589, 
      2px 15px 5px rgba(0, 0, 0, 0.2), 
      1px 20px 10px rgba(0, 0, 0, 0.3);
}
.letter-container h2 a span:hover{
    color: #e929d0;
    padding-top: 10px;
    text-shadow:  
      0px -1px 3px #cb4aba, 
      0 4px 3px #934589, 
      1px 1px 10px rgba(0, 0, 0, 0.2);
}</pre>
<p>And that&#8217;s it! I hope you enjoyed creating some crazy typography effects with CSS3 and jQuery!</p>
<p><a href="http://demo.web3designs.com/typography-effects-with-jquery-css3.html" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=614" /></a></p>
<h3>That&#8217;s it!</h3>
<p>I hope you enjoyed this article and if you have questions, comments, or suggestions, let me know! Thanks for reading.</p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-delay/'>animation delay</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-size/'>background size</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/computer/'>computer</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-selectors/'>css selectors</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-technique/'>CSS technique</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-transform/'>css transform</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-trick/'>CSS trick</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-animation/'>CSS3 animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-transitons/'>CSS3 transitons</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/div-id/'>div id</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/elements/'>elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/enterprise-it/'>enterprise-it</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fancy-transition-effect/'>fancy transition effect</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/free-open-source/'>free open source</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/graphical-user-interface/'>graphical user interface</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid/'>grid</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-2/'>javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-functions/'>javascript functions</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-programmers/'>javascript programmers</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery/'>jquery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-animation/'>jQuery animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery-plugin/'>jquery plugin</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/line-tag/'>line tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/open-source-javascript/'>open source javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/page-elements/'>page elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/plugin/'>plugin</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/png-transparency/'>png transparency</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/programming/'>programming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/project-workflow/'>project workflow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/science/'>science</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/smooth-transitions/'>smooth transitions</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software/'>software</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software-development/'>software-development</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/text-shadow/'>text shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transportation/'>transportation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/typography-effects/'>typography effects</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/731/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=731&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2012/10/21/cool-typography-effects-with-css3-and-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/10/typography-effects-with-css-jquery.jpg" medium="image">
			<media:title type="html">typography-effects-with-css-jquery</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=614" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>Hover and Click Trigger For CIRCULAR Elements With jQuery</title>
		<link>http://dhirajkumarsingh.wordpress.com/2012/10/02/hover-and-click-trigger-for-circular-elements-with-jquery/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2012/10/02/hover-and-click-trigger-for-circular-elements-with-jquery/#comments</comments>
		<pubDate>Tue, 02 Oct 2012 14:13:46 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[animation delay]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[background gradients]]></category>
		<category><![CDATA[background images]]></category>
		<category><![CDATA[background size]]></category>
		<category><![CDATA[bounding box]]></category>
		<category><![CDATA[circular area]]></category>
		<category><![CDATA[circular element]]></category>
		<category><![CDATA[circular image]]></category>
		<category><![CDATA[circular link]]></category>
		<category><![CDATA[circular shape]]></category>
		<category><![CDATA[class loading]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[CSS trick]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[div class]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[free open source]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[graphical user interface]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[inset]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript functions]]></category>
		<category><![CDATA[javascript programmers]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[line tag]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mouse event]]></category>
		<category><![CDATA[mouse events]]></category>
		<category><![CDATA[mouseevent]]></category>
		<category><![CDATA[open source javascript]]></category>
		<category><![CDATA[page elements]]></category>
		<category><![CDATA[paragraph text]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[possible solution]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project workflow]]></category>
		<category><![CDATA[pseudo-class]]></category>
		<category><![CDATA[radius]]></category>
		<category><![CDATA[rounded area]]></category>
		<category><![CDATA[rounded corners]]></category>
		<category><![CDATA[rounded image]]></category>
		<category><![CDATA[rounded links]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[transparent background]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[trigger]]></category>
		<category><![CDATA[visible area]]></category>
		<category><![CDATA[visual transition]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=720</guid>
		<description><![CDATA[Today we want to share one possible solution to the circle hovering problem. We&#8217;ll create a plugin that will take care of the &#8216;mouseenter&#8217;, &#8216;mouseleave&#8217; and &#8216;click&#8217; events to be triggered only on the circular shape of the element and not its bounding box. Applying a :hover pseudo-class to an element is widely known as [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=720&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>Today we want to share one possible solution to the circle hovering problem. We&#8217;ll create a plugin that will take care of the &#8216;mouseenter&#8217;, &#8216;mouseleave&#8217; and &#8216;click&#8217; events to be triggered only on the circular shape of the element and not its bounding box.</p></blockquote>
<p>Applying a :hover <a href="http://dhirajkumarsingh.wordpress.com/2012/05/09/before-after-pseudo-elements-syntax/">pseudo-class</a> to an element is widely known as the classic &#8220;hovering&#8221; over an element on a web page. A problem that arose with the introduction of the<a href="http://dhirajkumarsingh.wordpress.com/2012/04/07/practical-css3-tables-with-rounded-corners/"> border-radius</a> property is the non-realistic triggering of the hover event when entering the bounding box of the element and not just the actual visible area. This becomes extreme when we create a circle by setting the border-radius of a square to 50% (half of its outer width and height).</p>
<p>Today we want to share one possible solution to the circle hovering problem. We&#8217;ll create a plugin that will take care of the &#8216;mouseenter&#8217;, &#8216;mouseleave&#8217; and &#8216;click&#8217; events to be triggered only on the circular shape of the element and not its bounding box.</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/hover-and-click-trigger-circular-elements.html" target="_blank"><img class="aligncenter size-full wp-image-724" style="padding:2px;border:1px solid #ddd;" title="CIRCULAR-Elements-With-jQuery" alt="CIRCULAR-Elements-With-jQuery" src="http://dhirajkumarsingh.files.wordpress.com/2012/10/circular-elements-with-jquery.png?w=614"   /></a></p>
<h3>HOW IT WORKS</h3>
<p>In our example, we&#8217;ll be creating a circle with some kind of hover effect. The structure will simply be:</p>
<pre>&lt;a href="#" id="circle" class="ec-circle"&gt;
    &lt;h3&gt;Hovered&lt;/h3&gt;
&lt;/a&gt;</pre>
<p>And the style will be the following:</p>
<pre>.ec-circle{
    width: 420px;
    height: 420px;
    -webkit-border-radius: 210px;
    -moz-border-radius: 210px;
    border-radius: 50%;
    text-align: center;
    overflow: hidden;
    font-family:'Kelly Slab', Georgia, serif;
    background: #dda994 url(HoverClickTriggerCircle.jpg) no-repeat center center;
    box-shadow: 
        inset 0 0 1px 230px rgba(0,0,0,0.6),
        inset 0 0 0 7px #d5ad94;
    transition: box-shadow 400ms ease-in-out;
    display: block;
    outline: none;
}</pre>
<p>Now, we will define a class for the hover effect but not a dynamic pseudo-class :hover. The idea is to apply this class then with jQuery when we enter the circular area of our element:</p>
<pre>.ec-circle-hover{
    box-shadow: 
        inset 0 0 0 0 rgba(0,0,0,0.6),
        inset 0 0 0 20px #c18167,
        0 0 10px rgba(0,0,0,0.3);
}</pre>
<p>Only when we have JavaScript disabled, we&#8217;ll add the pseudo-class. This style can be found in the noscript.css:</p>
<pre>.ec-circle:hover{
    box-shadow: 
        inset 0 0 0 0 rgba(0,0,0,0.6),
        inset 0 0 0 20px #c18167,
        0 0 10px rgba(0,0,0,0.3);
}</pre>
<h3>THE JAVASCRIPT</h3>
<p>We are going to create a simple plugin that basically &#8220;redefines&#8221; the three events mentioned earlier. We&#8217;ll make the events only applicable on the circular shape:</p>
<pre>$.CircleEventManager            = function( options, element ) {
    this.$el = $( element );
    this._init( options );
};

$.CircleEventManager.defaults   = {
    onMouseEnter    : function() { return false },
    onMouseLeave    : function() { return false },
    onClick         : function() { return false }
};

$.CircleEventManager.prototype  = {
    _init           : function( options ) {
        this.options = $.extend( true, {}, $.CircleEventManager.defaults, options );
        // set the default cursor on the element
        this.$el.css( 'cursor', 'default' );
        this._initEvents();

    },
    _initEvents     : function() {
       var _self   = this;
       this.$el.on({
           'mouseenter.circlemouse'    : function( event ) {
               var el  = $(event.target),
               circleWidth   = el.outerWidth( true ),
               circleHeight  = el.outerHeight( true ),
               circleLeft    = el.offset().left,
               circleTop     = el.offset().top,
               circlePos     = {
                       x     : circleLeft + circleWidth / 2,
                       y     : circleTop + circleHeight / 2,
                       radius: circleWidth / 2
                   };

                // save cursor type
                var cursor  = 'default';
                if( _self.$el.css('cursor') === 'pointer' || _self.$el.is('a') )
                    cursor = 'pointer';
                el.data( 'cursor', cursor );
                el.on( 'mousemove.circlemouse', function( event ) {
                var distance    = Math.sqrt( Math.pow( event.pageX - circlePos.x, 2 ) + Math.pow( event.pageY - circlePos.y, 2 ) );

                if( !Modernizr.borderradius ) {

                  // inside element / circle
                  el.css( 'cursor', el.data('cursor') ).data( 'inside', true );
                  _self.options.onMouseEnter( _self.$el );

                 }
                 else {

                   if( distance &lt;= circlePos.radius &amp;&amp; !el.data('inside') ) {                       // inside element / circle                       el.css( 'cursor', el.data('cursor') ).data( 'inside', true );                       _self.options.onMouseEnter( _self.$el );                                                   }                     else if( distance &gt; circlePos.radius &amp;&amp; el.data('inside') ) {

                      // inside element / outside circle
                      el.css( 'cursor', 'default' ).data( 'inside', false );
                      _self.options.onMouseLeave( _self.$el );
                    }
                   }
                }); 
            },
            'mouseleave.circlemouse'    : function( event ) {
              var el  = $(event.target);
              el.off('mousemove');
               if( el.data( 'inside' ) ) {
                  el.data( 'inside', false );
                  _self.options.onMouseLeave( _self.$el );
              }
             },
            'click.circlemouse'         : function( event ) {
              // allow the click only when inside the circle
                var el  = $(event.target);
                if( !el.data( 'inside' ) )
                    return false;
                else
                    _self.options.onClick( _self.$el );
            }
        });         
    },
    destroy             : function() {     
        this.$el.unbind('.circlemouse').removeData('inside').removeData('cursor'); 
    }
}</pre>
<p>When we enter with the mouse in the square bounding box of our circle, we bind the &#8216;mousemove&#8217; event to the element and like that we can track if the distance of the mouse to the center of the element if longer than the radius. If it is, we know that we are not yet hovering the circular area of the element.</p>
<p style="text-align:left;"><a href="http://demo.web3designs.com/hover-and-click-trigger-circular-elements.html" target="_blank"><img class="aligncenter size-full wp-image-725" style="padding:2px;border:1px solid #ddd;" title="hoverTrigger" alt="hoverTrigger" src="http://dhirajkumarsingh.files.wordpress.com/2012/10/hovertrigger.jpg?w=614"   /></a><br />
Once the distance of the mouse is shorter than the radius, we know that we entered the circle and we trigger our custom &#8216;mouseenter&#8217; event.<br />
We also only allow the click event when the mouse is inside of the circle.<br />
In our example we will then apply our plugin to the regarding element. In our case, we are adding the hover class on &#8216;mouseenter&#8217; and removing it on &#8216;mouseleave&#8217;.</p>
<pre>$('#circle').circlemouse({
    onMouseEnter    : function( el ) {

        el.addClass('ec-circle-hover');

    },
    onMouseLeave    : function( el ) {

        el.removeClass('ec-circle-hover');

    },
    onClick         : function( el ) {

        alert('clicked');

    }
})</pre>
<p>Remember that the &#8220;normal&#8221; pseudo hover class is also defined in the noscript.css which gets applied when JavaScript is disabled.</p>
<p><a href="http://demo.web3designs.com/hover-and-click-trigger-circular-elements.html" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" alt="view demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=614" /></a></p>
<h3>Your turn</h3>
<p>I hope you enjoyed this article and the techniques I used. Please share your comments and questions below!</p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-delay/'>animation delay</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-gradients/'>background gradients</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-images/'>background images</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/background-size/'>background size</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/bounding-box/'>bounding box</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/circular-area/'>circular area</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/circular-element/'>circular element</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/circular-image/'>circular image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/circular-link/'>circular link</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/circular-shape/'>circular shape</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/class-loading/'>class loading</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-trick/'>CSS trick</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/div-class/'>div class</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/elements/'>elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/enterprise-it/'>enterprise-it</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/free-open-source/'>free open source</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/google/'>google</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/graphical-user-interface/'>graphical user interface</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid/'>grid</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/hover/'>hover</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/inset/'>inset</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-2/'>javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-functions/'>javascript functions</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/javascript-programmers/'>javascript programmers</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/jquery/'>jquery</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/line-tag/'>line tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mouse-event/'>mouse event</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mouse-events/'>mouse events</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mouseevent/'>mouseevent</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/open-source-javascript/'>open source javascript</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/page-elements/'>page elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/paragraph-text/'>paragraph text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/plugin/'>plugin</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/possible-solution/'>possible solution</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/programming/'>programming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/project-workflow/'>project workflow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/pseudo-class/'>pseudo-class</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/radius/'>radius</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/rounded-area/'>rounded area</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/rounded-corners/'>rounded corners</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/rounded-image/'>rounded image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/rounded-links/'>rounded links</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software/'>software</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software-development/'>software-development</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/tips-and-tricks/'>tips and tricks</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background/'>transparent background</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/trigger/'>trigger</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visible-area/'>visible area</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/720/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=720&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2012/10/02/hover-and-click-trigger-for-circular-elements-with-jquery/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/10/circular-elements-with-jquery.png" medium="image">
			<media:title type="html">CIRCULAR-Elements-With-jQuery</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/10/hovertrigger.jpg" medium="image">
			<media:title type="html">hoverTrigger</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>Rotating Words With CSS Animations &#8211; CSS3 Keyframes Animation Example</title>
		<link>http://dhirajkumarsingh.wordpress.com/2012/09/16/rotating-words-with-css-animations-css3-keyframes-animation/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2012/09/16/rotating-words-with-css-animations-css3-keyframes-animation/#comments</comments>
		<pubDate>Sun, 16 Sep 2012 14:34:34 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[@font-face CSS]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[animation delay]]></category>
		<category><![CDATA[animation direction]]></category>
		<category><![CDATA[beautiful butterflies]]></category>
		<category><![CDATA[browser incompatibility]]></category>
		<category><![CDATA[configurable settings]]></category>
		<category><![CDATA[core code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 4]]></category>
		<category><![CDATA[css bugs]]></category>
		<category><![CDATA[CSS code]]></category>
		<category><![CDATA[css document]]></category>
		<category><![CDATA[css file]]></category>
		<category><![CDATA[CSS framework]]></category>
		<category><![CDATA[css hacks]]></category>
		<category><![CDATA[css image]]></category>
		<category><![CDATA[css namespaces]]></category>
		<category><![CDATA[css opacity]]></category>
		<category><![CDATA[CSS properties]]></category>
		<category><![CDATA[css property]]></category>
		<category><![CDATA[css rules]]></category>
		<category><![CDATA[css selector]]></category>
		<category><![CDATA[css selectors]]></category>
		<category><![CDATA[CSS technique]]></category>
		<category><![CDATA[css transform]]></category>
		<category><![CDATA[CSS trick]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[CSS3 animation]]></category>
		<category><![CDATA[css3 box shadow]]></category>
		<category><![CDATA[CSS3 keyframe animation]]></category>
		<category><![CDATA[div class]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[free open source]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[graphical user interface]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grid system]]></category>
		<category><![CDATA[htm]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html elements]]></category>
		<category><![CDATA[html tags]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[inline elements]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[line tag]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mobile CSS]]></category>
		<category><![CDATA[optimized CSS]]></category>
		<category><![CDATA[page elements]]></category>
		<category><![CDATA[paragraph text]]></category>
		<category><![CDATA[position properties]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[text shadow]]></category>
		<category><![CDATA[transparent background image]]></category>
		<category><![CDATA[visual transition]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=713</guid>
		<description><![CDATA[In today&#8217;s tutorial we&#8217;ll create another typography effect. The idea is to have some kind of sentence and to rotate a part of it. We&#8217;ll be &#8220;exchanging&#8221; certain words of that sentence using CSS animations. Please note: the result of this tutorial will only work as intended in browsers that support CSS animations. So let&#8217;s [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=713&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>In today&#8217;s tutorial we&#8217;ll create another typography effect. The idea is to have some kind of sentence and to rotate a part of it. We&#8217;ll be &#8220;exchanging&#8221; certain words of that sentence using CSS animations.<br />
Please note: the result of this tutorial will only work as intended in browsers that support CSS animations.<br />
So let&#8217;s start!</p></blockquote>
<p>In the following, we&#8217;ll be going through <a href="http://demo.web3designs.com/text-rotation-css3.htm" target="_blank">demo</a>.</p>
<p style="text-align:center;"><a href="http://demo.web3designs.com/text-rotation-css3.htm" target="_blank"><img class="aligncenter size-full wp-image-715" style="padding:2px;border:1px solid #ddd;" title="rotating-words-css-animations" src="http://dhirajkumarsingh.files.wordpress.com/2012/09/rotating-words-css-animations.png?w=614&#038;h=243" alt="rotating-words-css-animations" width="614" height="243" /></a></p>
<h3>THE HTML</h3>
<p>We&#8217;ll have a main wrapper with a h2 heading that contains first-level spans and two divisions for the rotating words:</p>
<pre>&lt;section class="rw-wrapper"&gt;
	&lt;h2 class="rw-sentence"&gt;
		&lt;span&gt;Real poetry is like&lt;/span&gt;
		&lt;br /&gt;
		&lt;span&gt;creating beautiful butterflies&lt;/span&gt;
		&lt;br /&gt;
		&lt;span&gt;with a silent touch of&lt;/span&gt;
		&lt;div class="rw-words rw-words-1"&gt;
			&lt;span&gt;spice&lt;/span&gt;
			&lt;span&gt;colors&lt;/span&gt;
			&lt;span&gt;happiness&lt;/span&gt;
			&lt;span&gt;wonder&lt;/span&gt;
			&lt;span&gt;sugar&lt;/span&gt;
			&lt;span&gt;happiness&lt;/span&gt;
		&lt;/div&gt;
	&lt;/h2&gt;
&lt;/section&gt;</pre>
<p>Now, ignoring the garbage placeholder text, we want each span of the <strong>rw-word</strong> to appear at a time. For that we&#8217;ll be using CSS animations. We&#8217;ll create one animation for each division and each span will run it, just with different delays.<br />
So, let&#8217;s look at the CSS.</p>
<h3>THE CSS3</h3>
<p>First, we will style the main wrapper and center it on the page:</p>
<pre>.rw-wrapper{
	width: 80%;
	position: relative;
	margin: 110px auto 0 auto;
	font-family: 'Bree Serif';
	padding: 10px;
	height: 400px;
	overflow: hidden;
}</pre>
<p>We&#8217;ll add some text shadow to all the elements in the heading:</p>
<pre>.rw-sentence{
	margin: 0;
	text-align: left;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
}</pre>
<p>And add some specific text styling to the spans:</p>
<pre>.rw-sentence span{
	color: #444;
	white-space: nowrap;
	font-size: 200%;
	font-weight: normal;
}</pre>
<p>The divisions will be displayed as inline elements, that will allow us to &#8220;insert&#8221; them into the sentence without breaking the flow:</p>
<pre>.rw-words{
	display: inline;
	text-indent: 10px;
}</pre>
<p>Each span inside of a rw-words div will be positioned absolutely and we&#8217;ll hide any overflow:</p>
<pre>.rw-words span{
	position: absolute;
	opacity: 0;
	overflow: hidden;
	color: #888;
	-webkit-transform-origin: 10% 75%;
	-moz-transform-origin: 10% 75%;
	-ms-transform-origin: 10% 75%;
	-o-transform-origin: 10% 75%;
	transform-origin: 10% 75%;
}</pre>
<p>Now, we&#8217;ll run two animations. As mentioned previously, we&#8217;ll run the same animation for all the spans in one div, just with different delays:</p>
<pre>.rw-words-1 span{
	animation: rotateWord 16s linear infinite 0s;
}
.rw-words-2 span{
    animation: rotateWordsSecond 18s linear infinite 0s;
}
.rw-words span:nth-child(2) {
	animation-delay: 3s; 
	color: #6b889d;
}
.rw-words span:nth-child(3) {
	animation-delay: 6s; 
	color: #6b739d;	
}
.rw-words span:nth-child(4) {
	animation-delay: 9s; 
	color: #7a6b9d;
}
.rw-words span:nth-child(5) {
	animation-delay: 12s; 
	color: #8d6b9d;
}
.rw-words span:nth-child(6) {
	animation-delay: 15s; 
	color: #9b6b9d;
}</pre>
<p>Our animations will run one cycle, meaning that each span will be shown once for three seconds, hence the delay value. The whole animation will run 6 (number of images) * 3 (appearance time) = 18 seconds.<br />
We will need to set the right percentage for the opacity value (or whatever makes the span appear). Dividing 6 by 18 gives us 0.333… which would be 33% for our keyframe step. Everything that we want to happen to the span needs to happen before that. So, after tweaking and seeing what fits best, we come up with the following animation (Fade in and &#8220;fall&#8221;) for the first words:</p>
<pre>@keyframes rotateWord {
    0% { opacity: 0; }
    5% { opacity: 1; }
    17% { opacity: 1; transform: rotate(0deg); }
	19% { opacity: 1; transform: rotate(98deg); }
	21% { opacity: 1; transform: rotate(86deg); }
	23% { opacity: 1; transform: translateY(85px) rotate(83deg); }
	25% { opacity: 0; transform: translateY(170px) rotate(80deg); }
	80% { opacity: 0; }
    100% { opacity: 0; }
}</pre>
<p>We&#8217;ll fade in the span and we&#8217;ll also animate its height.<br />
The animation for the words in the second div will fade in and animate their width. We added a bit to the keyframe step percentages here, because we want these words to appear just a tiny bit later than the ones of the first word:</p>
<pre>@keyframes rotateWordsSecond {
    0% { opacity: 1; animation-timing-function: ease-in; width: 0px; }
    10% { opacity: 0.3; width: 0px; }
    20% { opacity: 1; width: 100%; }
    27% { opacity: 0; width: 100%; }
    100% { opacity: 0; }
}</pre>
<p style="text-align:center;"><a href="http://demo.web3designs.com/text-rotation-css3.htm" target="_blank"><img class="aligncenter size-full wp-image-714" style="padding:2px;border:1px solid #ddd;" title="css3-animations-rotating-words" src="http://dhirajkumarsingh.files.wordpress.com/2012/09/css3-animations-rotating-words.png?w=614&#038;h=269" alt="css3-animations-rotating-words" width="614" height="269" /></a></p>
<p>And that&#8217;s it folks! There are many possibilities for the animations, you can check out the <a href="http://demo.web3designs.com/text-rotation-css3.htm" target="_blank">demo</a> and see what can be applied!<br />
I hope you enjoyed this tutorial and find it inspiring!<br />
<a href="http://demo.web3designs.com/text-rotation-css3.htm" target="_blank"><img class="aligncenter" title="view-blogger-tutorial-demo" src="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=614" alt="view demo" /></a></p>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/font-face-css/'>@font-face CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/android/'>android</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-delay/'>animation delay</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/animation-direction/'>animation direction</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/beautiful-butterflies/'>beautiful butterflies</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/browser-incompatibility/'>browser incompatibility</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/configurable-settings/'>configurable settings</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/core-code/'>core code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css/'>CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-3/'>CSS 3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-4/'>CSS 4</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-bugs/'>css bugs</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-code/'>CSS code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-document/'>css document</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-file/'>css file</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-framework/'>CSS framework</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-hacks/'>css hacks</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-image/'>css image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-namespaces/'>css namespaces</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-opacity/'>css opacity</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-properties/'>CSS properties</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-property/'>css property</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-rules/'>css rules</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-selector/'>css selector</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-selectors/'>css selectors</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-technique/'>CSS technique</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-transform/'>css transform</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css-trick/'>CSS trick</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3/'>css3</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-animation/'>CSS3 animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-box-shadow/'>css3 box shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/css3-keyframe-animation/'>CSS3 keyframe animation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/div-class/'>div class</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/elements/'>elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/enterprise-it/'>enterprise-it</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/free-open-source/'>free open source</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/graphical-user-interface/'>graphical user interface</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid/'>grid</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/grid-system/'>grid system</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/htm/'>htm</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-elements/'>html elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-tags/'>html tags</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/inline-elements/'>inline elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/line-tag/'>line tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile-css/'>mobile CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/optimized-css/'>optimized CSS</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/page-elements/'>page elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/paragraph-text/'>paragraph text</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/position-properties/'>position properties</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/science/'>science</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/style/'>style</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/text-shadow/'>text shadow</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/transparent-background-image/'>transparent background image</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/visual-transition/'>visual transition</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/713/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/713/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=713&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2012/09/16/rotating-words-with-css-animations-css3-keyframes-animation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/09/rotating-words-css-animations.png" medium="image">
			<media:title type="html">rotating-words-css-animations</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/09/css3-animations-rotating-words.png" medium="image">
			<media:title type="html">css3-animations-rotating-words</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/07/view-blogger-tutorial-demo.png?w=614" medium="image">
			<media:title type="html">view-blogger-tutorial-demo</media:title>
		</media:content>
	</item>
		<item>
		<title>Top 10 Reasons to Start Using HTML5 Right Now&#8230;</title>
		<link>http://dhirajkumarsingh.wordpress.com/2012/09/08/top-10-reasons-to-start-using-html5-right-now/</link>
		<comments>http://dhirajkumarsingh.wordpress.com/2012/09/08/top-10-reasons-to-start-using-html5-right-now/#comments</comments>
		<pubDate>Fri, 07 Sep 2012 20:33:55 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[CSS - Cascading Style Sheets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Mobile Web Technology]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[adobe building]]></category>
		<category><![CDATA[advance web technology]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[angle brackets]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[block level elements]]></category>
		<category><![CDATA[browser incompatibility]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[cleaner code]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[cross browser compatibility]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[doctype]]></category>
		<category><![CDATA[doctype html]]></category>
		<category><![CDATA[fellow designers]]></category>
		<category><![CDATA[future]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[htm]]></category>
		<category><![CDATA[html and xhtml]]></category>
		<category><![CDATA[html attribute]]></category>
		<category><![CDATA[html basics]]></category>
		<category><![CDATA[html elements]]></category>
		<category><![CDATA[html markup]]></category>
		<category><![CDATA[HTML structure]]></category>
		<category><![CDATA[html tags]]></category>
		<category><![CDATA[html tags attributes]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[interactive web applications]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[legacy]]></category>
		<category><![CDATA[meta charset]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mobile device]]></category>
		<category><![CDATA[Mobile navigation]]></category>
		<category><![CDATA[native]]></category>
		<category><![CDATA[page elements]]></category>
		<category><![CDATA[smartphone]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[tags attributes]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[viewport meta tag]]></category>
		<category><![CDATA[web application]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[web usability]]></category>
		<category><![CDATA[world wide web consortium]]></category>
		<category><![CDATA[xhtml tag]]></category>

		<guid isPermaLink="false">http://dhirajkumarsingh.wordpress.com/?p=704</guid>
		<description><![CDATA[So you’re still not using HTML5, huh? I guess you probably have your reasons; it’s not fully adopted yet, it doesn’t work in IE, you don’t like users, you’re out of touch or you are just passionately in love with writing strict XHTML code. HTML5 is the revolution that the web needed and the fact is, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=704&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p><em>So you’re still not using HTML5, huh?</em> I guess you probably have your reasons; it’s not fully adopted yet, it doesn’t work in IE, you don’t like users, you’re out of touch or you are just passionately in love with writing strict <a href="http://dhirajkumarsingh.wordpress.com/xhtml-why-how-to-use/" target="_blank">XHTML</a> code. HTML5 is the revolution that the web needed and the fact is, it is the future whether you like it or not — suck it up and deal. HTML5 isn’t hard to use or understand and even though it’s not fully adopted yet, there are still plenty of reasons to start using it <strong>right now</strong> —<em> like right after you get done reading this article</em>.</p></blockquote>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-706" style="padding:2px;border:1px solid #ddd;" title="html5-reasons" src="http://dhirajkumarsingh.files.wordpress.com/2012/09/html5-reasons.jpg?w=614" alt="html5-reasons"   /></p>
<p>There are lots of articles touting the use of <a href="http://dhirajkumarsingh.wordpress.com/html5-new-standards-web-interactivity/" target="_blank">HTML5</a> and praising the benefits of it, yes this is another one of those. With all these articles, with Apple pushing it, with Adobe building new dev products around it, and with so many web sites devoted to it, I still talk to fellow designers and developers who haven’t or won’t adopt it for a variety of reasons. I think the <strong>main problem</strong> is, it still seems like a mysterious creature to many. To many it feels more like the jet pack or the flying car — an awesome idea that is fun to think about but still not practical in its use. Wrong, the reality is that it is extremely practical right now! It’s not the latest Mercedes concept car being towed around form car show to car show, it’s a reality and it’s not going anywhere.</p>
<p>In order to further <strong>demystify HTML5</strong> and help these knuckle dragging designers and developers to jump on the bandwagon I’ve put together a top ten list of reasons why we should all be using HTML5 right now. For those that currently use HTML5 this list may not be anything new or ground breaking, but hopefully it will inspire you to share the benefits of HTML5 with others in the community. We’ll do this Letterman countdown style (minus the celebrity presenter) and start with number ten – <em>accessibility</em>.</p>
<h3>10 – ACCESSIBILITY</h3>
<p>HTML5 makes creating accessible sites easier for two main reasons: semantics and ARIA. The new (some currently available) HTML headings like &lt;header&gt;, &lt;footer&gt;, &lt;nav&gt;, &lt;section&gt;, &lt;aside&gt;, etc. allow screen readers to easily access content. Before, your screen readers had no way to determine what a given &lt;div&gt; was even if you assigned it an ID or Class. With new semantic tags screen readers can better examine the HTML document and create a better experience for those who use them.</p>
<p>ARIA is a W3C spec that is mainly used to assign specific “roles” to elements in an HTML document – essentially creating important landmarks on the page: header, footer, navigation or article, via role attributes. This has been well overlooked and widely under-used mostly due to the fact that it wasn’t valid, however, HTML5 will validate these attributes. Also, HTML5 will have built in roles that can’t be over-ridden making assigning roles a no brainer. For a more in depth discussion on HTML5 and ARIA please visit the <a title="http://www.w3.org/WAI/intro/aria" href="http://www.w3.org/WAI/intro/aria">WAI</a>.</p>
<h3>9 – VIDEO AND AUDIO SUPPORT</h3>
<p>Forget about Flash Player and other third party media players, make your videos and audio truly accessible with the new HTML5 &lt;video&gt; and &lt;audio&gt; tags. Getting your media to play correctly has always been pretty much a nightmare, you had to use the and &lt;object&gt; tags and assign a huge list of parameters just to get the thing visible and working correctly. Your media tags just become these nasty, huge chunks of confusing code segments. HTML5′s video and audio tags basically treat them as images; &lt;video src=”url”/&gt;. But what about all those parameters like height, width and autoplay? No worries my good man, just define those attributes in the tag just like any other HTML element: &lt;video src=”url” width=”640px” height=”380px” autoplay/&gt;.</p>
<p>It’s actually that dead simple, however because old evil browsers out there don’t like our HTML5 friend, you’ll need to add a little bit more code to get them working correctly… but this code isn’t nearly as gnarly and messy as the &lt;object&gt; and tags:</p>
<pre>&lt;video poster="myvideo.jpg" controls&gt;
 &lt;source src="myvideo.m4v" type="video/mp4" /&gt;
 &lt;source src="myvideo.ogg" type="video/ogg" /&gt;
&lt;/video&gt;</pre>
<div>
<p>Some resources worth checking out:</p>
<ul>
<li><a title="http://net.tutsplus.com/tutorials/html-css-techniques/html5-audio-and-video-what-you-must-know/" href="http://net.tutsplus.com/tutorials/html-css-techniques/html5-audio-and-video-what-you-must-know/" target="_blank">HTML5 Audio and Video: What you Must Know</a></li>
<li><a title="http://blog.gingertech.net/wp-content/uploads/2011/01/LCA_MM_AVProc2011/#slide1" href="http://blog.gingertech.net/wp-content/uploads/2011/01/LCA_MM_AVProc2011/#slide1" target="_blank">Audio and Video processing in HTML5</a></li>
<li><a title="http://www.splashnology.com/article/how-to-make-your-own-video-player-on-html5-video/2654/?utm_source=html5weekly&amp;utm_medium=email" href="http://www.splashnology.com/article/how-to-make-your-own-video-player-on-html5-video/2654/?utm_source=html5weekly&amp;utm_medium=email" target="_blank">How to Make Your Own Video Player On HTML5 Video</a></li>
<li><a title="http://www.sitepoint.com/using-html5-video-and-audio-in-modern-browsers/" href="http://www.sitepoint.com/using-html5-video-and-audio-in-modern-browsers/" target="_blank">Using HTML5 Video and Audio in Modern Browsers</a></li>
<li><a title="http://rawkes.com/blog/2011/08/06/browserscene-creating-a-3d-sound-visualiser-with-webgl-and-html5-audio?utm_source=html5weekly&amp;utm_medium=email" href="http://rawkes.com/blog/2011/08/06/browserscene-creating-a-3d-sound-visualiser-with-webgl-and-html5-audio?utm_source=html5weekly&amp;utm_medium=email" target="_blank">Browserscene: Creating a 3D sound visualiser with WebGL and HTML5 audio</a></li>
</ul>
<h3>8 – DOCTYPE</h3>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-707" style="padding:2px;border:1px solid #ddd;" title="doctype" src="http://dhirajkumarsingh.files.wordpress.com/2012/09/doctype.jpg?w=614" alt="doctype html"   /></p>
<pre>&lt;!DOCTYPE html&gt;</pre>
<p>Yup that’s it, that is the doctype, nothing more, nothing less. Pretty simple right? No more cutting and pasting some long unreadable line of code and no more dirty head tags filled with <a href="http://dhirajkumarsingh.wordpress.com/html-doctype/" target="_blank">doctype</a> attributes. You can simply and easily type it out and be happy. The really great thing about it though, beyond the simplicity, is that it works in every browser clear back to the dreaded <a href="http://dhirajkumarsingh.wordpress.com/2012/04/30/how-to-solve-common-ie-bugs/" target="_blank">IE6</a>.</p>
<h3>7 – CLEANER CODE</h3>
<p>If you are passionate about simple, elegant, easy to read code then HTML5 is the beast for you. HTML5 allows you to write clear and descriptive code, semantic code that allows you to easily separate meaning from style and content. Consider this typical and simple header code with navigation:</p>
<pre>&lt;div id="header"&gt;
&lt;h1&gt;Header Text&lt;/h1&gt;
&lt;div id="nav"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;</pre>
<p>So this code is pretty clean and simple? But with HTML5 you can clean this up even more and at the same time give your markup more meaning:</p>
<pre>&lt;header&gt;
 &lt;h1&gt;Header Text&lt;/h1&gt;
 &lt;nav&gt;
  &lt;ul&gt;
   &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
 &lt;/nav&gt;
&lt;/header&gt;</pre>
<p>With HTML5 you can finally cure your “divitis” and “classitis” by using semantic and HTML headers to describe your content. Previously you would generally just use div’s for every block of content than drop an id or class on it to describe its content but with the new &lt;section&gt;, &lt;article&gt;, &lt;header&gt;, &lt;footer&gt;, &lt;aside&gt; and &lt;nav&gt; tags, HTML5 allows you to code your markup cleaner as well as keep your CSS better organized and happier.</p>
<p>Some resources worth checking out:</p>
<ul>
<li><a title="http://html5boilerplate.com/" href="http://html5boilerplate.com/" target="_blank">HTML5 Boilerplate</a></li>
</ul>
<h3>6 – SMARTER STORAGE</h3>
<p>One of the coolest things about HTML5 is the new local storage feature. It’s a little bit of a cross between regular old cookies and a client-side database. It’s better than cookies because it allows for storage across multiple windows, it has better security and performance and data will persist even after the browser is closed. Because it’s essentially a client side data base you don’t have to worry about the user deleting cookies and it is been adopted by all the popular browsers.</p>
<p>Local storage is great for many things, but it’s one of HTML5 tools that are making web apps possible without third party plugins. Being able to store data in the user’s browser allows you to easily create those app features like: storing user information, the ability to cache data, and the ability to load the user’s previous application state. If you are interested in getting started with local storage, check out Christian Heilmann’s great 24 Ways article from last year —<a title="http://24ways.org/2010/html5-local-storage" href="http://24ways.org/2010/html5-local-storage">Wrapping Things Nicely with HTML5 Local Storage</a>.</p>
<p>Some more resources worth checking out:</p>
<ul>
<li><a title="http://html5doctor.com/storing-data-the-simple-html5-way-and-a-few-tricks-you-might-not-have-known/?utm_source=html5weekly&amp;utm_medium=email" href="http://html5doctor.com/storing-data-the-simple-html5-way-and-a-few-tricks-you-might-not-have-known/?utm_source=html5weekly&amp;utm_medium=email" target="_blank">Storing Data the Simple HTML5 Way (and a few tricks you might not have known)</a></li>
<li><a title="http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-learning-about-html5-local-storage/" href="http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-learning-about-html5-local-storage/" target="_blank">Quick Tip: Learning About HTML5 Local Storage</a></li>
<li><a title="http://www.kirupa.com/html5/html5_local_storage.htm" href="http://www.kirupa.com/html5/html5_local_storage.htm" target="_blank">HTML5 Local Storage</a></li>
<li><a title="http://htmlui.com/blog/2011-08-23-5-obscure-facts-about-html5-localstorage.html" href="http://htmlui.com/blog/2011-08-23-5-obscure-facts-about-html5-localstorage.html" target="_blank">5 Obscure Facts About HTML5 LocalStorage</a></li>
</ul>
<h3>5 – BETTER INTERACTIONS</h3>
<p>Awe, we all want better interactions, we all want a more dynamic website that responds to the user and allows the user to enjoy/interact your content instead of just look at it. Enter &lt;canvas&gt;, the drawing HTML5 tag that allows you to do most (if not more) interactive and animated possibilities than the previous rich internet application platforms like Flash.</p>
<p>Beyond &lt;canvas&gt;, HTML5 also comes with a slew of great APIs that allow you to build a better user experience and a beefier, more dynamic web application — here’s a quick list of native APIs:</p>
<ul>
<li>Drag and Drop (DnD)</li>
<li>Offline storage database</li>
<li>Browser history management</li>
<li>document editing</li>
<li>Timed media playback</li>
</ul>
<p>For way more info on these APIs and more native interactive features of HTML5 visit <a title="html5doctor.com" href="http://html5doctor.com/" target="_blank">HTML5Doctor</a>.</p>
<p>Some resources worth checking out:</p>
<ul>
<li><a title="http://hakim.se/experiments" href="http://hakim.se/experiments" target="_blank">Hakim’s experiments</a></li>
<li><a title="http://mrdoob.com/" href="http://mrdoob.com/" target="_blank">Ricardo’s works</a></li>
<li><a title="http://9elements.com/io/projects/html5/canvas/" href="http://9elements.com/io/projects/html5/canvas/" target="_blank">HTML5 Canvas and Audio Experiment</a></li>
<li><a title="http://mrdoob.com/projects/chromeexperiments/ball_pool/" href="http://mrdoob.com/projects/chromeexperiments/ball_pool/" target="_blank">Ball Pool</a></li>
<li><a title="http://craftymind.com/factory/html5video/CanvasVideo.html" href="http://craftymind.com/factory/html5video/CanvasVideo.html" target="_blank">HTML5 Video Destruction</a></li>
<li><a title="http://smalltalkapp.com/#all" href="http://smalltalkapp.com/#all" target="_blank">Social Weather Mapping</a></li>
</ul>
<h3>4 – GAME DEVELOPMENT</h3>
<p>Yup, that is correct, you can develop <a href="http://dhirajkumarsingh.wordpress.com/2012/05/21/html5-canvas-awesomeness-games-roundup/">games using HTML5′s &lt;canvas&gt; tag</a>. HTML5 provides a great, mobile friendly way to develop fun, interactive games. If you’ve built Flash games before, you’ll love building HTML5 games.</p>
<p>Script-Tutorials has recently offered a four part series of lessons focused on HTML5 game development, head on over and check out some of the sick stuff they have created:</p>
<ul>
<li><a title="http://www.script-tutorials.com/html5-game-development-lesson-1/" href="http://www.script-tutorials.com/html5-game-development-lesson-1/" target="_blank">HTML5 Gaming Development Lesson One</a></li>
<li><a title="http://www.script-tutorials.com/html5-game-development-lesson-2/" href="http://www.script-tutorials.com/html5-game-development-lesson-2/" target="_blank">HTML5 Gaming Development Lesson Two</a></li>
<li><a title="http://www.script-tutorials.com/html5-game-development-lesson-3/" href="http://www.script-tutorials.com/html5-game-development-lesson-3/" target="_blank">HTML5 Gaming Development Lesson Three</a></li>
<li><a title="http://www.script-tutorials.com/html5-game-development-lesson-4/" href="http://www.script-tutorials.com/html5-game-development-lesson-4/" target="_blank">HTML5 Gaming Development Lesson Four</a></li>
</ul>
<p>Some more resources worth checking out:</p>
<ul>
<li><a title="http://msdn.microsoft.com/en-us/scriptjunkie/gg189187?utm_source=html5weekly&amp;utm_medium=email" href="http://msdn.microsoft.com/en-us/scriptjunkie/gg189187?utm_source=html5weekly&amp;utm_medium=email" target="_blank">How to Build Asteroids with the Impact HTML5 Game Engine</a></li>
<li><a title="http://smus.com/multiplayer-html5-games-with-node?utm_source=html5weekly&amp;utm_medium=email" href="http://smus.com/multiplayer-html5-games-with-node?utm_source=html5weekly&amp;utm_medium=email" target="_blank">Developing Multiplayer HTML5 Games with Node.js</a></li>
<li><a title="http://css.dzone.com/articles/how-write-brikbloc-game-html5?utm_source=html5weekly&amp;utm_medium=email" href="http://css.dzone.com/articles/how-write-brikbloc-game-html5?utm_source=html5weekly&amp;utm_medium=email" target="_blank">How to write a BrikBloc game with HTML5 SVG and Canvas</a></li>
<li><a title="http://www.lostdecadegames.com/how-to-make-a-simple-html5-canvas-game/?utm_source=html5weekly&amp;utm_medium=email" href="http://www.lostdecadegames.com/how-to-make-a-simple-html5-canvas-game/?utm_source=html5weekly&amp;utm_medium=email" target="_blank">How to make a simple HTML5 Canvas game</a></li>
<li><a title="http://html5-games.org/" href="http://html5-games.org/" target="_blank">Html5 Games</a></li>
<li><a title="http://www.limejs.com/" href="http://www.limejs.com/" target="_blank">LimeJS, an HTML5 game framework</a></li>
</ul>
<h3>3 – LEGACY/CROSS BROWSER SUPPORT</h3>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-705" style="padding:2px;border:1px solid #ddd;" title="modern browsers support" src="http://dhirajkumarsingh.files.wordpress.com/2012/09/browsers.jpg?w=614" alt="modern browsers support"   /></p>
<p>Your modern, popular browsers all support HTML5 (Chrome, Firefox, Safari IE9 and Opera) and the HTML5 doctype was created so that all browsers, even the really old and annoying ones, er, <a href="http://dhirajkumarsingh.wordpress.com/2012/04/30/how-to-solve-common-ie-bugs/" target="_blank">IE6</a> can use it. But just because old browsers recognize the doctype that doesn’t mean they can use all the new HTML5 tags and goodies. Fortunately, HTML5 is being built to make things easier and more cross browser friendly so in those older IE browsers that don’t like the new tags we can just simply add a Javascript shiv that will allow them to use the new elements:</p>
<pre>&lt;!--[if lt IE 9]&gt;
&lt;script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt;
&lt;![endif]--&gt;</pre>
<p>Some resources worth checking out:</p>
<ul>
<li><a title="http://html5readiness.com/" href="http://html5readiness.com/" target="_blank">HTML5 &amp; CSS3 READINESS</a></li>
<li><a title="http://caniuse.com/" href="http://caniuse.com/" target="_blank">When can I use</a></li>
<li><a title="https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills" href="https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills" target="_blank">HTML5 Cross Browser Polyfills</a></li>
<li><a title="http://www.modernizr.com/" href="http://www.modernizr.com/" target="_blank">Modernizr</a></li>
</ul>
<h3>2 – MOBILE, MOBILE, MOBILE</h3>
<p>Call it a hunch, but I think mobile technology is becoming more popular these days. I know, that is a pretty crazy assumption and some of your are probably thinking — mobile is just a fad… right. Mobile devices are taking over the world. The adoption of mobile devices continues to grow very rapidly and this means that more and more users will be using their mobile browsers to view your web site or application. HTML5 is the most mobile ready tool for developing mobile sites and apps. With Adobe announcing the death of mobile Flash, you will now count on HTML5 to do your mobile web application development.</p>
<p>Mobile browsers have fully adopted HTML5 so creating mobile ready projects is as easy as designing and constructing for their smaller touch screen displays — hence the popularity of Responsive Design. There are some great meta tags that also allow you to optimize for mobile:</p>
<ul>
<li>Viewport: allows you to define viewport widths and zoom settings</li>
<li>Full screen browsing: IOS specific values that allow Apple devices to display in full screen mode</li>
<li>Home Screen Icons: like favicons on desktop, these icons are used to add favorites to the home screen of an IOS and Android mobile device</li>
</ul>
<p>For more info on how to mobilize your site via HTML5, check out <a title="http://www.html5rocks.com/en/mobile/mobifying.html" href="http://www.html5rocks.com/en/mobile/mobifying.html">“Mobifying” Your HTML5 Site</a>.</p>
<p>Some resources worth checking out:</p>
<ul>
<li><a title="http://mobilehtml5.org/" href="http://mobilehtml5.org/" target="_blank">Mobile HTML5</a></li>
<li><a title="http://html5boilerplate.com/mobile" href="http://html5boilerplate.com/mobile" target="_blank">Mobile Boilerplate</a></li>
<li><a title="http://teamtreehouse.com/library/projects/html5-mobile-web-applications" href="http://teamtreehouse.com/library/projects/html5-mobile-web-applications" target="_blank">HTML5 Mobile Web Applications</a></li>
</ul>
<h3>1 – IT’S THE FUTURE, GET WITH IT!</h3>
<p>The number one reason why you should start using HTML5 today is this: it’s the future, start using it now so you don’t get left behind. HTML5 is not going anywhere and as more and more elements get adopted more and more companies will start to develop in HTML5. HTML5 is essentially just HTML, it’s not scary, it’s not anything you really need to figure out or relearn — if you’re developing XHTML strict right now you are already developing in HTML5 so why not take full advantage of it’s current capability?</p>
<p>You really don’t have any excuses not to adopt HTML5 and begin your new love affair with it. Truly, the only real reason I prefer to use HTML5 is just to write cleaner code, all the other benefits and fun features I haven’t even really jumped into yet, but that is the great thing about it, you can just start using it right now and not even change the way you design. So, start using it right now, whether you are just simplifying and making your markup more semantic OR you are gonna build some sick new mobile game that will take over the world — who knows, maybe you can start selling stuffed animal versions of your gaming characters too.</p>
<h3>GREAT HTML5 RESOURCES</h3>
<p><a title="http://html5doctor.com" href="http://html5doctor.com/" target="_blank">http://html5doctor.com</a><br />
<a title="http://html5rocks.com" href="http://html5rocks.com/" target="_blank">http://html5rocks.com</a><br />
<a title="http://html5weekly.com/" href="http://html5weekly.com/" target="_blank">http://html5weekly.com</a><br />
<a title="http://www.remysharp.com" href="http://www.remysharp.com/" target="_blank">http://www.remysharp.com</a><br />
<a title="http://www.script-tutorials.com" href="http://www.script-tutorials.com/">http://www.script-tutorials.com</a></p>
</div>
<br /> Tagged: <a href='http://dhirajkumarsingh.wordpress.com/tag/accessibility/'>accessibility</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/adobe-building/'>adobe building</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/advance-web-technology/'>advance web technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/android/'>android</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/angle-brackets/'>angle brackets</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/audio/'>audio</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/block-level-elements/'>block level elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/browser-incompatibility/'>browser incompatibility</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/canvas/'>canvas</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/cleaner-code/'>cleaner code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/code/'>code</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/cross-browser-compatibility/'>cross browser compatibility</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/design/'>design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype/'>doctype</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/doctype-html/'>doctype html</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/fellow-designers/'>fellow designers</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/future/'>future</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/game/'>game</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/gaming/'>gaming</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/google/'>google</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/htm/'>htm</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-and-xhtml/'>html and xhtml</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-attribute/'>html attribute</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-basics/'>html basics</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-elements/'>html elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-markup/'>html markup</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-structure/'>HTML structure</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-tags/'>html tags</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html-tags-attributes/'>html tags attributes</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/html5/'>html5</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/interactive-web-applications/'>interactive web applications</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/ipad/'>iPad</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/iphone/'>iPhone</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/legacy/'>legacy</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/meta-charset/'>meta charset</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile/'>mobile</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile-device/'>mobile device</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/mobile-navigation/'>Mobile navigation</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/native/'>native</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/page-elements/'>page elements</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/smartphone/'>smartphone</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software/'>software</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/software-development/'>software-development</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/storage/'>storage</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/tags-attributes/'>tags attributes</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/technology/'>technology</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/video/'>video</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/viewport-meta-tag/'>viewport meta tag</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/web-application/'>web application</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/web-design/'>web design</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/web-server/'>web server</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/web-usability/'>web usability</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/world-wide-web-consortium/'>world wide web consortium</a>, <a href='http://dhirajkumarsingh.wordpress.com/tag/xhtml-tag/'>xhtml tag</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajkumarsingh.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajkumarsingh.wordpress.com/704/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajkumarsingh.wordpress.com&#038;blog=32954133&#038;post=704&#038;subd=dhirajkumarsingh&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajkumarsingh.wordpress.com/2012/09/08/top-10-reasons-to-start-using-html5-right-now/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<georss:point>28.712738 77.162896</georss:point>
		<geo:lat>28.712738</geo:lat>
		<geo:long>77.162896</geo:long>
		<media:content url="http://0.gravatar.com/avatar/0dcb9ff3ae0be3c1c90293694a41dd86?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">dhirajkumarsingh</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/09/html5-reasons.jpg" medium="image">
			<media:title type="html">html5-reasons</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/09/doctype.jpg" medium="image">
			<media:title type="html">doctype</media:title>
		</media:content>

		<media:content url="http://dhirajkumarsingh.files.wordpress.com/2012/09/browsers.jpg" medium="image">
			<media:title type="html">modern browsers support</media:title>
		</media:content>
	</item>
	</channel>
</rss>
