<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>BootStrap</title>
	
	<link>http://bootstrap.pk</link>
	<description>FreePlay</description>
	<lastBuildDate>Mon, 08 Oct 2012 11:55:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/bootstrap/ofYv" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="bootstrap/ofyv" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">bootstrap/ofYv</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Tutorial: Simple, yet usable jQuery based dropdown menu</title>
		<link>http://bootstrap.pk/tutorials/tutorial-simple-yet-usable-jquery-based-dropdown-menu/</link>
		<comments>http://bootstrap.pk/tutorials/tutorial-simple-yet-usable-jquery-based-dropdown-menu/#comments</comments>
		<pubDate>Sun, 22 Jul 2012 20:46:50 +0000</pubDate>
		<dc:creator>Tamuir khan</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://bootstrap.pk/?p=3209</guid>
		<description><![CDATA[Based on the amount of requests i&#8217;ve received lately on this post, on creating a simple, yet extendable dropdown menu, i believe easiest way to achieve this would be through simple jquery, so here it is. The zip file contains(psd + html + css (since i coded this in stylus, .styl file is attached as [...]]]></description>
				<content:encoded><![CDATA[<p>Based on the amount of requests i&#8217;ve received lately on this <a href="http://bootstrap.pk/tutorials/tutorial-creating-animated-sprite-based-dropdown-menu/" target="_blank" title="Creating Animated Sprite Based Dropdown Menu">post</a>, on creating a simple, yet extendable dropdown menu, i believe easiest way to achieve this would be through simple jquery, so here it is.</p>
<p>The zip file contains(psd + html + css (since i coded this in stylus, .styl file is attached as well)), ready to be used for your next project.</p>
<h3>Here&#8217;s how it will look</h3>
<p><img src="http://bootstrap.pk/media/2012/07/preview_1.jpg" alt="Final Preview" /></p>
<h3>Lets take a look at the HTML markup first</h3>
<pre class="brush: html">
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
	&lt;title&gt;Simple, yet usable jQuery based dropdown menus&lt;/title&gt;
	&lt;!--[if lt IE 9]&gt;
	&lt;script src=&quot;js/html5.js&quot;&gt;&lt;/script&gt;
	&lt;![endif]--&gt;
	&lt;link rel=&quot;stylesheet&quot; href=&quot;css/lib/styles.css&quot;&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div class=&quot;container&quot;&gt;
	&lt;header class=&quot;header&quot;&gt; 
		&lt;h1&gt;Simple, yet usable jQuery based dropdown menus&lt;/h1&gt;
		&lt;nav&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot; title=&quot;Home&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&gt;&lt;a href=&quot;#&quot; title=&quot;Products&quot;&gt;Products&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&gt;&lt;a href=&quot;#&quot; title=&quot;Services&quot;&gt;Services&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot; title=&quot;Contact Us&quot;&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/nav&gt;
	&lt;/header&gt;&lt;!-- / .header --&gt;
	&lt;section class=&quot;section&quot;&gt;
		&lt;article&gt;
			&lt;header&gt;
				&lt;p&gt;So, almost every twenty-four hours, when the watches of the night were set, and the band on deck sentinelled the slumbers of the band below; and when if a rope was to be hauled upon the forecastle.&lt;/p&gt;
			&lt;/header&gt;
			&lt;p&gt;
				the sailors flung it not rudely down, as by day, but with some cautiousness dropt it to its place for fear of disturbing their slumbering shipmates; when this sort of steady quietude would begin to prevail, habitually, the silent steersman would watch the cabin-scuttle; and ere long the old man would emerge, gripping at the iron banister, to help his crippled way
			&lt;/p&gt;
		&lt;/article&gt;
	&lt;/section&gt;
&lt;/div&gt;
&lt;script src=&quot;js/jquery-1.4.3.min.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;js/dropdown.js&quot;&gt;&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Its a simple UL, LI based navigation system, now lets add the dropdown code.</p>
<pre class="brush: html">
&lt;li class=&quot;dropdown&quot;&gt;&lt;a class=&quot;ddIcon&quot; href=&quot;#&quot; title=&quot;Products&quot;&gt;Products&lt;/a&gt;
      &lt;!-- dropdown menu --&gt;
	&lt;div class=&quot;subNav&quot;&gt;
		&lt;div class=&quot;navSection&quot;&gt;
			&lt;h4&gt;&lt;a href=&quot;#&quot;&gt; Mobile Phones&lt;span&gt;(view all)&lt;/span&gt;&lt;/a&gt;&lt;/h4&gt;
			&lt;a href=&quot;&quot; title=&quot;&quot;&gt;Samsung Galaxy SIII&lt;/a&gt;
			&lt;a href=&quot;&quot; title=&quot;Apple Iphone 3gs&quot;&gt;Apple Iphone 3gs&lt;/a&gt;
			&lt;a href=&quot;&quot; title=&quot;Google Nexus&quot;&gt;Google Nexus&lt;/a&gt;
			&lt;a href=&quot;&quot; title=&quot;Apple Iphone 4S&quot;&gt;Apple Iphone 4S&lt;/a&gt;
		&lt;/div&gt;
		&lt;div class=&quot;navSection&quot;&gt;
			&lt;h4&gt;&lt;a href=&quot;#&quot;&gt; Tablets &lt;span&gt;(view all)&lt;/span&gt;&lt;/a&gt;&lt;/h4&gt;
			&lt;a href=&quot;&quot; title=&quot;Google Nexus 7&quot;&gt;Google Nexus 7&lt;/a&gt;
			&lt;a href=&quot;&quot; title=&quot;Apple IPAD&quot;&gt;Apple IPAD&lt;/a&gt;
			&lt;a href=&quot;&quot; title=&quot;Amazon Kindle&quot;&gt;Amazon Kindle&lt;/a&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/li&gt;
</pre>
<p>if you take a look closely, you&#8217;ll notice 2 things</p>
<h4 class="myoption">
<ol>
<li>LI now have a class named <strong>&#8220;dropdown&#8221;</strong></li>
<li>The Parent Anchor has a class as well <strong>&#8220;ddIcon&#8221;</strong></li>
</ol>
</h4>
<p><strong>dropdown</strong> class is used for accessing it with jQuery mainly to show/hide the dropdown menu and is required for the menu to work, the second class <strong>&#8220;ddIcon&#8221;</strong> is an indicator for dropdown and is optional.</p>
<p>Let&#8217;s style this menu, this is how styling looks like in stylus.</p>
<pre class="brush: css">
@import &#039;nib&#039;

//  Eric Meyer&#039;s reset
global-reset()
reset-html5()

// custom mixins

@font-face {
    font-family: &#039;HattoriHanzoLight&#039;;
    src: url(&#039;Hattori_Hanzo-webfont.eot&#039;);
    src: url(&#039;Hattori_Hanzo-webfont.eot?#iefix&#039;) format(&#039;embedded-opentype&#039;),
         url(&#039;Hattori_Hanzo-webfont.woff&#039;) format(&#039;woff&#039;),
         url(&#039;Hattori_Hanzo-webfont.ttf&#039;) format(&#039;truetype&#039;),
         url(&#039;Hattori_Hanzo-webfont.svg#HattoriHanzoLight&#039;) format(&#039;svg&#039;);
    font-weight: normal;
    font-style: normal;
}

Hattori_Hanzo()
	font-family: HattoriHanzoLight

html, body
	height: 100%

body
	background: linear-gradient(top, #DFF0FB 0%, #C3E4F7 100%)
	font-family: sans-serif
	height: 100%

.container
	width: 960px
	margin: 0 auto
	padding-top: 50px

	h1
		Hattori_Hanzo()
		font-size: 30px
		color: #666
		margin-bottom: 1em

	nav
		border-radius: 4px
		background-color: #fff
		height: 37px

		ul
			li
				position: relative
				float: left

				a
					font-size: 12px
					text-decoration: none
					font-weight: bold
					text-transform: uppercase
					color: #545454
					padding: 13px 15px
					display: block
					border-right: 1px solid #f9f9f9

					&amp;.ddIcon
						background: transparent url(&quot;../../images/dd.png&quot;) no-repeat 86% 52%
						padding: 13px 25px 13px 15px

					&amp;:hover
						background-color: #cc333f
						color: #fff

				&amp;.active
					a
						background-color: #cc333f
						color: #fff

				&amp;:first-child
					a
						border-radius: 4px 0 0 4px

				.subNav
					position: absolute
					background-color: #cc333f
					padding: 15px 15px 20px
					width: 172px
					left: 0px; top 38px
					display: none

					.navSection
						padding: 5px 0

					h4
						margin-bottom: 0.5em


						a
							font-size: 11px
							color: #edc951
							text-transform: capitalize
							border-bottom: 1px solid #D33B47
							padding: 7px 10px
							
							&amp;:hover
								color: #edc951

							span
								float: right
								font-size: 10px
								color: #fff
								transition(color .5s ease)

								&amp;:hover
									color: #390206

					a
						float: none
						border: none
						display: block
						text-transform: capitalize
						color: #fff
						padding: 7px 15px
						transition(color .5s ease)
						line-height: 1.3

						&amp;:hover
							color: #390206
	.section
		clear: both
		padding: 10px

		article
			p
				Hattori_Hanzo()
				font-size: 16px
				color: #488fb8
				line-height: 1.3

			header
				p
					padding-top: 20px
					Hattori_Hanzo()
					font-size: 20px
					color: #333
					line-height: 1.3
					margin-bottom: .4em
</pre>
<p>most parts of the file is self explaintory, i&#8217;ve used mixins do some stuff, mixins are type of functions that stylus, less &#038; sass provide for productivity, more on stylus, please take a look at <a href="http://bootstrap.pk/tutorials/getting-started-with-stylus-css-pre-processor/" title="Getting Started with Stylus – CSS Pre-Processor">Getting started with Stylus</a>.</p>
<p>Now we need to add Interactivity, here&#8217;s the simple, yet useful jquery function</p>
<pre class="brush: javascript">
$(function(){   
    $(&quot;li.dropdown&quot;).hover(function() {
        if ($(&quot;this:has(div.subNav)&quot;)){
            $(&quot;.subNav&quot;).css({&#039;display&#039;:&#039;none&#039;});
            $(&quot;.subNav&quot;, this).css({&#039;display&#039;:&#039;block&#039;});
            $(&quot;nav ul li&quot;).css({&#039;position&#039;:&#039;relative&#039;, &#039;z-index&#039;:&#039;1001&#039;});    
            $(this).addClass(&quot;active&quot;);
        }
    }, function(){
        $(&quot;.subNav&quot;).css({&#039;display&#039;:&#039;none&#039;});
        $(this).removeClass(&quot;active&quot;);
        $(&quot;nav ul li&quot;).css({&#039;position&#039;:&#039;relative&#039;, &#039;z-index&#039;:&#039;1&#039;});      
    });

});
</pre>
<p>You can easily plug-in a new dropdown menu by just creating a div with the classname <strong>&#8220;subNav&#8221;</strong>, within <strong>LI</strong>, you also need to add <strong>&#8220;dropdown&#8221;</strong> class to the LI itself.</p>
<p>
Hope you liked it and if you have any question, feel free to comment.<br />
<br />
Until next time~ ciao</p>
<p>
P.S I&#8217;ve added some visual enhancements, check it out.<br />
<br />
<a href="http://goo.gl/RGPfV"><img class="alignnone size-full wp-image-512" style="margin-right: 8px;" title="Download file" src="http://bootstrap.pk/media/2009/12/download-btn.png" alt="Download file" width="117" height="39"></a><a href="http://goo.gl/BSqIV" target="_blank"><img class="alignnone size-full wp-image-513" title="demo-btn" src="http://bootstrap.pk/media/2009/12/demo-btn.png" alt="demo-btn" width="79" height="39"></a>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:-80px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbootstrap.pk%2Ftutorials%2Ftutorial-simple-yet-usable-jquery-based-dropdown-menu%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbootstrap.pk%2Ftutorials%2Ftutorial-simple-yet-usable-jquery-based-dropdown-menu%2F&amp;source=bsfreeplay&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://bootstrap.pk/tutorials/tutorial-simple-yet-usable-jquery-based-dropdown-menu/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<enclosure url="http://goo.gl/RGPfV" length="628873" type="application/zip" /></item>
		<item>
		<title>IPAD app of the Week #1 – Kit Digital</title>
		<link>http://bootstrap.pk/inspiration/ipad-app-of-the-week-1-kit-digital/</link>
		<comments>http://bootstrap.pk/inspiration/ipad-app-of-the-week-1-kit-digital/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 12:00:28 +0000</pubDate>
		<dc:creator>Tamuir khan</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[IPad]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[UX]]></category>

		<guid isPermaLink="false">http://bootstrap.pk/?p=3167</guid>
		<description><![CDATA[Kit Digital is perfect example of well thought user experience and carefully designed user interface, designed by Martin Oberhauser for IPAD. This app is developed to provide customers information related to companies, their operations, case studies and much more. It also includes a simple form to generate prospective leads on location. Kit Digital in Action [...]]]></description>
				<content:encoded><![CDATA[<p>Kit Digital is perfect example of well thought user experience and carefully designed user interface, designed by <a href="http://www.oberhaeuser.info" title="Martin Oberhauser" target="_blank">Martin Oberhauser</a> for IPAD.</p>
<p>This app is developed to provide customers information related to companies, their operations, case studies and much more. It also includes a simple form to generate prospective leads on location.</p>
<h3 class="NoBorder">Kit Digital in Action</h3>
<object width="625" height="361"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=38232621"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="never"></param><param name="allownetworking" value="internal"></param><param name="flashvars" value="" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=38232621" type="application/x-shockwave-flash" allowscriptaccess="never" allownetworking="internal" allowfullscreen="true" width="625" height="361" flashvars=""></embed></object>
<h3 class="BlueHeading">App Screens</h3>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-01.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-02.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-03.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-04.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-06.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-07.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-08.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-09.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-10.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-11.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-12.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-13.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-14.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-15.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-16.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-17.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-18.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p><img src="http://bootstrap.pk/media/2012/03/IPAD-app-of-the-Week-Kit-Digital-19.jpg" alt="IPAD app of the Week #1 – Kit Digital" /></p>
<p>Until next time.</p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:-80px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbootstrap.pk%2Finspiration%2Fipad-app-of-the-week-1-kit-digital%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbootstrap.pk%2Finspiration%2Fipad-app-of-the-week-1-kit-digital%2F&amp;source=bsfreeplay&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://bootstrap.pk/inspiration/ipad-app-of-the-week-1-kit-digital/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<enclosure url="http://vimeo.com/moogaloop.swf?clip_id=38232621" length="-1" type="application/x-shockwave-flash" /></item>
		<item>
		<title>Getting Started with Stylus – CSS Pre-Processor</title>
		<link>http://bootstrap.pk/tutorials/getting-started-with-stylus-css-pre-processor/</link>
		<comments>http://bootstrap.pk/tutorials/getting-started-with-stylus-css-pre-processor/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 18:36:27 +0000</pubDate>
		<dc:creator>Tamuir khan</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[how-to's]]></category>

		<guid isPermaLink="false">http://bootstrap.pk/?p=3063</guid>
		<description><![CDATA[Today we are going to look at another CSS Pre-processor just like Sass &#38; Less Stylus is an expressive, dynamic, robust CSS pre-processor from what i&#8217;ve seen, and it packs more power than Less &#38; Sass. Stylus comes equipped with all the features that Sass / Less provides. On top of that, it supports better [...]]]></description>
				<content:encoded><![CDATA[<p>Today we are going to look at another CSS Pre-processor just like <a href="http://sass-lang.com/" title="Sass" target="_blank">Sass</a> &amp; <a href="http://lesscss.org/" title="Less" target="_blank">Less </a></p>
<p>Stylus is an expressive, dynamic, robust CSS pre-processor from what i&#8217;ve seen, and it packs more power than Less &amp; Sass.</p>
<h4 class="myoption">Stylus comes equipped with all the features that Sass / Less provides. On top of that, it supports better <strong>Inheritance</strong>, top notch <strong>Error Reporting</strong> and provides flexibility when it come to your preference in writing code.</h4>
<p>In this tutorial, we&#8217;ll take a look at how to install Stylus on Windows and compile the CSS using command line.</p>
<h3 class="BlueHeading">- Installation</h3>
<p>To install <strong>Stylus </strong>, we require <a href="http://nodejs.org" title="Nodejs" target="_blank">Nodejs</a>. If you already have Nodejs installed on your system, you can skip the next step.</p>
<h3 class="BlueHeading">1- Installing NodeJS</h3>
<p>Installing <strong>NodeJS </strong>on windows is very easy. Just <a href="http://nodejs.org" title="Nodejs Windows Installer" target="_blank">download</a> their installer and run it. After successful installation, a reboot might be required.</p>
<p><img src="http://bootstrap.pk/media/2012/03/Installing-NodeJs.jpg" alt="Installing NodeJS" /></p>
<p>To check if it installed successfully, run the following in your Windows command line.</p>
<pre class="brush: plain">
npm
</pre>
<p>If you see &#8220;Usage&#8221; output, you are in luck.</p>
<p><img src="http://bootstrap.pk/media/2012/03/CheckingNode.jpg" alt="Checking NodeJS" /></p>
<h3 class="BlueHeading">2- Installing Stylus</h3>
<p>Once Nodejs is installed, we can install Stylus through NPM(node package manager). Here&#8217;s the command:</p>
<pre class="brush: plain">
npm install stylus -g
</pre>
<p><img src="http://bootstrap.pk/media/2012/03/installing-Stylus.jpg" alt="Installing Stylus" /></p>
<p>You will see Package manager download files required to run Stylus. Copy them to appropriate places. Once installed, you can test by compiling a sample file like this:</p>
<pre class="brush: plain">
//stylus files are save as .styl extension.

stylus -c sample.styl
</pre>
<p>You will see &#8220;compiled sample.css&#8221; or an error if there was some problem with compiling.</p>
<p><img src="http://bootstrap.pk/media/2012/03/compiling-stylus.jpg" alt="Compiling Stylus" /></p>
<p>Amazing init? You got yourself a working Css Pre-processor.</p>
<p>Now, lets take a look at stylus language itself, we&#8217;ll start with</p>
<p></p>
<h3 class="BlueHeading">Code Writing Styles</h3>
<p>Stylus allows you to write code in many ways, if you don&#8217;t like braces?</p>
<pre class="brush: css">
//stylus will still understand your code without braces.

a.button
  -webkit-border-radius: 5px
  -moz-border-radius: 5px
  border-radius: 5px
</pre>
<p>Instead, why not drop the colons and make it more simpler? See Below:</p>
<pre class="brush: css">

border-radius()
  -webkit-border-radius arguments
  -moz-border-radius arguments
  border-radius arguments

body
  font 12px Helvetica, Arial, sans-serif

a.button
  border-radius(5px)
</pre>
<p>pretty slick?</p>
<p></p>
<h3 class="BlueHeading">Variables</h3>
<p>Stylus does not require you to use a &#8216;$&#8217; like <strong>Sass </strong>or &#8216;@&#8217; like <strong>Less </strong>does, but it does support the &#8216;$&#8217; symbol like prepend. So, if you are coming from Sass, you won&#8217;t have difficulties with variables and if you are coming from Less, I&#8217;d say just don&#8217;t use any prepend. <strong>(recommended)</strong></p>
<pre class="brush: css">

font-size = 14px

body
   font font-size Arial, sans-serif
</pre>
<p><strong>output:</strong> </p>
<pre class="brush: css">

body {
   font: 14px Arial, sans-serif;
 }
</pre>
<p>Here&#8217;s another example using variable as Expression.</p>
<pre class="brush: css">

font-size = 14px
font = font-size &quot;Lucida Grande&quot;, Arial

body
  font font sans-serif
</pre>
<p><strong>output:</strong></p>
<pre class="brush: css">

body {
  font: 14px &quot;Lucida Grande&quot;, Arial sans-serif;
}
</pre>
<p></p>
<h3 class="BlueHeading">Interpolation</h3>
<p>Interpolation is another great feature. It&#8217;s a way to use an expression, which becomes part of the identifier <strong>{ &#8230; }</strong></p>
<pre class="brush: css">
table
  for row in 1 2 3 4 5
    tr:nth-child({row})
      height: 10px * row
</pre>
<p><strong>output:</strong></p>
<pre class="brush: css">
table tr:nth-child(1) {
  height: 10px;
}
table tr:nth-child(2) {
  height: 20px;
}
table tr:nth-child(3) {
  height: 30px;
}
table tr:nth-child(4) {
  height: 40px;
}
table tr:nth-child(5) {
  height: 50px;
}
</pre>
<p></p>
<h3 class="BlueHeading">Operators</h3>
<p>Stylus provides wide variety of math operator support like Less / Sass.</p>
<pre class="brush: css">

leftSpace = 10

a.Link
  margin: (24px/2)
  left: 5 * leftSpace
  padding: 4px - 2

</pre>
<p><strong>output:</strong></p>
<pre class="brush: css">

a.Link {
  margin:12px;
  left:50;
  padding:2px
}
</pre>
<p></p>
<h3 class="BlueHeading">Mixins</h3>
<p>Mixins are much similar to functions, but used in a different way, i.e a statement rather than part of an expression.</p>
<pre class="brush: css">
border-radius(a)
  -webkit-border-radius a
  -moz-border-radius a
  border-radius a

input[type=input]
  border-radius(5px)
</pre>
<p><strong>output:</strong></p>
<pre class="brush: css">
input[type=input]{
 -webkit-border-radius:5px;
 -moz-border-radius:5px;
 border-radius:5px
}
</pre>
<p></p>
<h3 class="BlueHeading"> Built-in Functions</h3>
<p>Stylus provides a wide range of built-in functions. Here are some of them:</p>
<pre class="brush: css">

red(color) /*Return the red component of the given color, same for green and blue*/
dark(black) /*returns true if the color is dark otherwise false*/

lighten(color, 10%); /* returns a color 10% lighter than &#039;color&#039; */
darken(color, 10%);  /* returns a color 10% darker than &#039;color&#039; */
 
saturate(color, 10%);   /* returns a color 10% more saturated than &#039;color&#039; */
desaturate(color, 10%); /* returns a color 10% less saturated than &#039;color&#039; */

</pre>
<h3 class="BlueHeading"> Conditional Statements</h3>
<p>If you want to do something specific based on some condition or a value, you are in the right place.</p>
<p>Trust me, Stylus provides a very easy and generic syntax. I still remember that it took me 20 good mins to figure it out in Less.</p>
<p>Here&#8217;s how it works:</p>
<pre class="brush: css">
overload-padding = true

/*if overload-padding is true swap padding for margins*/
if overload-padding
  padding(y, x)
    margin y x

body
  padding 5px 10px
</pre>
<p><strong>output:</strong></p>
<pre class="brush: css">
body{margin:5px 10px}
</pre>
<p></p>
<h3 class="BlueHeading">Inheritance</h3>
<p>Stylus provides better Inheritance than Less and also Sass in some conditions. Here&#8217;s how it works:</p>
<pre class="brush: css">
red = #E33E1E
yellow = #E2E21E

.message
 padding: 10px
 font: 14px Helvetica
 border: 1px solid #eee

.warning
 @extends .message
 border-color: yellow
 background: yellow + 70%

.error
 @extends .message
 border-color: red
 background: red + 70%

.fatal
 @extends .error
 font-weight: bold
 color: red
</pre>
<p><strong>output:</strong></p>
<pre class="brush: css">
.message, .warning, .error, .fatal{ padding:10px; font:14px Helvetica; border:1px solid #eee}
.warning{ border-color:#e2e21e; background:#f6f6bc }
.error, .fatal{ border-color:#e33e1e; background:#f7c5bc }
.fatal{ font-weight:bold; color:#e33e1e}

</pre>
<p></p>
<h3 class="BlueHeading">Error Reporting</h3>
<p>Error Reporting is where Stylus is far superior than less, and somehow better than Sass.</p>
<p><img><br />
<img src="http://bootstrap.pk/media/2012/03/error1.jpg" alt="Error" /></p>
<p>another example, where error is in the included file.</p>
<p><img src="http://bootstrap.pk/media/2012/03/error2.jpg" alt="Error" /></p>
<p>We have just barely scratched the surface&#8230; For more check out Stylus <a href="http://learnboost.github.com/stylus/" title="Documentation">Documentation</a> </p>
<p>That&#8217;s all for today, ciao.
<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:-80px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbootstrap.pk%2Ftutorials%2Fgetting-started-with-stylus-css-pre-processor%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbootstrap.pk%2Ftutorials%2Fgetting-started-with-stylus-css-pre-processor%2F&amp;source=bsfreeplay&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://bootstrap.pk/tutorials/getting-started-with-stylus-css-pre-processor/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>10 lifesaving jQuery snippets</title>
		<link>http://bootstrap.pk/tutorials/10-lifesaving-jquery-snippets/</link>
		<comments>http://bootstrap.pk/tutorials/10-lifesaving-jquery-snippets/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 11:20:44 +0000</pubDate>
		<dc:creator>Tamuir khan</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[snippets]]></category>

		<guid isPermaLink="false">http://bootstrap.pk/?p=2982</guid>
		<description><![CDATA[Developing interactive components for websites usually require the same code like equal div Height, Browser detection, preloading images, disabling right-click.. etc. Yeah you guessed it right, today we gonna share some life saving jQuery snippets that will help you do simple tasks. 01- Display Loading Graphic Until Page Fully Loaded $(window).load(function() { // Animate loader [...]]]></description>
				<content:encoded><![CDATA[<p>Developing interactive components for websites usually require the same code like equal div Height, Browser detection, preloading images, disabling right-click.. etc.<br />
<br />
<img src="http://bootstrap.pk/media/2012/01/10-life-saving-jQuery-snippets.jpg" alt="10 lifesaving jQuery snippets" /><br />
<br />Yeah you guessed it right, today we gonna share some life saving <strong>jQuery snippets </strong>that will help you do simple tasks.</p>
<h3 class="blueheading">01- Display Loading Graphic Until Page Fully Loaded</h3>
<pre class="brush: javascript">
$(window).load(function() {
    // Animate loader off screen
    $(&quot;#loader&quot;).animate({
        top: -200
        }, 1500);
});
// where loader is &lt;img src=&quot;download.png&quot; id=&quot;loader&quot;&gt;
//and first element to be loaded.
</pre>
<h3 class="blueheading">02- How to Bind a function to an event</h3>
<pre class="brush: javascript">
$(&#039;#foo&#039;).bind(&#039;click&#039;, function() {
  alert(&#039;User clicked on &quot;foo.&quot;&#039;);
});
</pre>
<h3 class="blueheading">03- Smooth scrolling to an anchor</h3>
<pre class="brush: javascript">
$(document).ready(function() {
	$(&quot;myLink&quot;).click(function() {
		$(&quot;html, body&quot;).animate({
			scrollTop: $($(this).attr(&quot;href&quot;)).offset().top + &quot;px&quot;
		}, {
			duration: 450,
			easing: &quot;easeOutBounce&quot;
		});
		return false;
	});
});
</pre>
<h3 class="blueheading">04- How to Switch StyleSheets With jQuery</h3>
<pre class="brush: javascript">
	$(&#039;link[media=&#039;screen&#039;]&#039;).attr(&#039;href&#039;, &#039;Alternative.css&#039;);

</pre>
<h3 class="blueheading">05- Add :nth-of-type to jQuery</h3>
<pre class="brush: javascript">

$.expr[&#039;:&#039;][&#039;nth-of-type&#039;] = function(elem, i, match) {
    var parts = match[3].split(&quot;+&quot;);
    return (i + 1 - (parts[1] || 0)) % parseInt(parts[0], 10) === 0;
};

</pre>
<h3 class="blueheading">06- How to find out the index of an element in an unordered set</h3>
<pre class="brush: javascript">
$(document).ready(function(){
 $(&quot;ul &gt; li&quot;).click(function () {
     var index = $(this).prevAll().length;
 });
});
</pre>
<h3 class="blueheading">07- Disable right mouse click</h3>
<pre class="brush: javascript">

$(document).ready(function(){
    $(document).bind(&quot;contextmenu&quot;,function(e){
        return false;
    });
});

</pre>
<h3 class="blueheading">08- How to refresh the src of an image with jQuery</h3>
<pre class="brush: javascript">

$(document).ready(function(){
   $(imageobj).attr(&#039;src&#039;, $(imageobj)
           .attr(&#039;src&#039;) + &#039;?&#039; + Math.random() );
});

</pre>
<h3 class="blueheading">09- Automatically Discover Document Links And Apply Class</h3>
<pre class="brush: javascript">

$(document).ready(function(){
   $(&#039;a[href]&#039;).each(function() {
   if((C = $(this).attr(&#039;href&#039;).match(/[.](doc|xls|pdf)$/))) {
       $(this).addClass(C[1]);
   }
});
});

</pre>
<h3 class="blueheading">10- Better Broken Image Handling</h3>
<pre class="brush: javascript">
//  images that a browser can&#039;t find fire off an &quot;error&quot; JavaScript event we can watch for.
$(&#039;img&#039;).error(function(){
        $(this).attr(&#039;src&#039;, &#039;missing.png&#039;);
});

// Or, hide them
$(&quot;img&quot;).error(function(){
        $(this).hide();
});

</pre>
<p>Hope this helps.</p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:-80px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbootstrap.pk%2Ftutorials%2F10-lifesaving-jquery-snippets%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbootstrap.pk%2Ftutorials%2F10-lifesaving-jquery-snippets%2F&amp;source=bsfreeplay&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://bootstrap.pk/tutorials/10-lifesaving-jquery-snippets/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>15 Free Freshly Baked Pixel Perfect UI Elements</title>
		<link>http://bootstrap.pk/freebies/15-free-freshly-baked-pixel-perfect-ui-elements/</link>
		<comments>http://bootstrap.pk/freebies/15-free-freshly-baked-pixel-perfect-ui-elements/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 19:19:26 +0000</pubDate>
		<dc:creator>Tamuir khan</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[Freebie]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://bootstrap.pk/?p=2984</guid>
		<description><![CDATA[And here we are again, with another great hand picked free to download list, which will quench your thirst for UI Elements and will be very handy in your next project. White Blue Web/UI Elements Dark UI Kit (Part 1 of 2) Blaubarry UI Kit Sleek UI Elements UI Bundle iTunes Inspired UI Kit Butterscotch [...]]]></description>
				<content:encoded><![CDATA[<p>And here we are again, with another great hand picked free to download list, which will quench your thirst for UI Elements and will be very handy in your next project.</p>
<h3 class="blueHeading">White Blue Web/UI Elements</h3>
<p><a href="http://shegystudio.deviantart.com/art/White-blue-web-ui-elements-pac-213089794"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-01.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">Dark UI Kit (Part 1 of 2)</h3>
<p><a href="http://www.icondeposit.com/design:29"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-02.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements"  /></a></p>
<h3 class="blueHeading">Blaubarry UI Kit</h3>
<p><a href="http://www.designkindle.com/2011/07/07/blaubarry-ui-kit/"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-03.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">Sleek UI Elements</h3>
<p><a href="http://www.designkindle.com/2011/07/25/sleek-ui-elements/"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-04.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">UI Bundle</h3>
<p><a href="http://www.icondeposit.com/design:25"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-05.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" width="630" height="473" class="alignnone size-full wp-image-3005" /></a></p>
<h3 class="blueHeading">iTunes Inspired UI Kit</h3>
<p><a href="http://www.premiumpixels.com/freebies/itunes-inspired-ui-kit-psd/"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-06.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">Butterscotch UI Kit</h3>
<p><a href="http://www.designkindle.com/2011/10/31/butterscotch-ui-kit/"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-07.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">Black UI Kit</h3>
<p><a href="http://www.designkindle.com/2011/05/09/black-ui-kit/"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-08.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">Dark UI kit (Part 2 of 2)</h3>
<p><a href="http://www.icondeposit.com/design:31"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-09.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">Web UI Set</h3>
<p><a href="http://duckfiles.com/70-user-interface-elements-free-psd/"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-10.png" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">Futurico – Free User Interface Elements Pack</h3>
<p><a href="http://designmodo.com/futurico/"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-11.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">Cloudy UI kit</h3>
<p><a href="http://365psd.com/day/2-186/"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-12.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" width="630" height="473" class="alignnone size-full wp-image-3005" /></a></p>
<h3 class="blueHeading">Modern UI Kit</h3>
<p><a href="http://www.icondeposit.com/design:32"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-13.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">Glossy 3D UI Kit</h3>
<p><a href="http://medialoot.com/item/glossy-3d-ui-kit/"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-14.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">Moonify UI</h3>
<p><a href="http://www.designkindle.com/2011/12/07/moonify-ui/"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-15.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">Detailed UI Kit</h3>
<p><a href="http://www.icondeposit.com/design:24"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-16.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" width="630" height="473" class="alignnone size-full wp-image-3005" /></a></p>
<h3 class="blueHeading">Vertical Navigation Menu</h3>
<p><a href="http://www.premiumpixels.com/freebies/vertical-navigation-menu-psd/"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-17.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a></p>
<h3 class="blueHeading">Vector UI Kit</h3>
<p><a href="http://www.icondeposit.com/design:9"><img src="http://bootstrap.pk/media/2011/12/18-Free-Freshly-Baked-Pixel-Perfect-UI-Elements-18.jpg" alt="" title="18 Free Freshly Baked Pixel Perfect UI Elements" /></a>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:-80px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbootstrap.pk%2Ffreebies%2F15-free-freshly-baked-pixel-perfect-ui-elements%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbootstrap.pk%2Ffreebies%2F15-free-freshly-baked-pixel-perfect-ui-elements%2F&amp;source=bsfreeplay&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://bootstrap.pk/freebies/15-free-freshly-baked-pixel-perfect-ui-elements/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Freaking Awesome Free Font of the Week #1</title>
		<link>http://bootstrap.pk/freebies/freaking-awesome-free-font-of-the-week-1/</link>
		<comments>http://bootstrap.pk/freebies/freaking-awesome-free-font-of-the-week-1/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 11:11:34 +0000</pubDate>
		<dc:creator>Tamuir khan</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[Typography]]></category>

		<guid isPermaLink="false">http://bootstrap.pk/?p=2954</guid>
		<description><![CDATA[This week, the awesome free font award goes to Code, this amazing font is brought to us by Font Fabric. It can be used for any type of graphic design, print, motion graphics, web and for other gazillion stuff, oh and specially for T-Shirts. Code Light Code Bold Some cool usage. Until Next Week, Ciao.]]></description>
				<content:encoded><![CDATA[<p>This week, the awesome free font award goes to <strong>Code</strong>, this amazing font is brought to us by <a href="http://fontfabric.com" title="Font Fabric" target="_blank">Font Fabric.</a> It can be used for any type of graphic design, print, motion graphics, web and for other gazillion stuff, oh and specially for T-Shirts.</p>
<h3 class="BlueHeading">Code Light</h3>
<p><img src="http://bootstrap.pk/media/2011/08/CODE-free-font-of-the-week-light.png" alt="Freaking Awesome Free Font of the Week #1" /></p>
<h3 class="BlueHeading">Code Bold</h3>
<p><img src="http://bootstrap.pk/media/2011/08/CODE-free-font-of-the-week-bold.png" alt="Freaking Awesome Free Font of the Week #1" /></p>
<h3 class="BlueHeading">Some cool usage.</h3>
<p><img src="http://bootstrap.pk/media/2011/08/CODE-free-font-of-the-week-use-01.png" alt="Freaking Awesome Free Font of the Week #1" /><br />
<img src="http://bootstrap.pk/media/2011/08/CODE-free-font-of-the-week-use-02.jpg" alt="Freaking Awesome Free Font of the Week #1" /><br />
<img src="http://bootstrap.pk/media/2011/08/CODE-free-font-of-the-week-use-03.png" alt="Freaking Awesome Free Font of the Week #1" /></p>
<p><a target="_blank" href="http://goo.gl/R4LJe"><img class="alignnone size-full wp-image-512" title="Download file" src="http://bootstrap.pk/media/2009/12/download-btn.png" alt="" width="117" height="39" /></a></p>
<p>Until Next Week, Ciao.
<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:-80px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbootstrap.pk%2Ffreebies%2Ffreaking-awesome-free-font-of-the-week-1%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbootstrap.pk%2Ffreebies%2Ffreaking-awesome-free-font-of-the-week-1%2F&amp;source=bsfreeplay&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://bootstrap.pk/freebies/freaking-awesome-free-font-of-the-week-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freebie: Audio Player User Interface with Multiple Skins</title>
		<link>http://bootstrap.pk/articles/freebie-audio-player-user-interface-with-multiple-skins/</link>
		<comments>http://bootstrap.pk/articles/freebie-audio-player-user-interface-with-multiple-skins/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 13:22:17 +0000</pubDate>
		<dc:creator>Tamuir khan</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://bootstrap.pk/?p=2942</guid>
		<description><![CDATA[Really? Audio player UI, including 3 skins ? Yes! Today we are releasing, audio player ui, for your next project, zip file includes psd&#8217;s which are properly named, layered and grouped, easy to use, edit and free even for commercial projects The Package includes 3 different skins(psd&#8217;s) let us know if you liked it.]]></description>
				<content:encoded><![CDATA[<p>Really? Audio player UI, including 3 skins ? Yes! Today we are releasing, audio player ui, for your next project, zip file includes psd&#8217;s which are properly named, layered and grouped, easy to use, edit and free even for commercial projects</p>
<p><img src="http://bootstrap.pk/media/2011/08/Audio-Player.jpg" alt="" title="Freebie: Audio Player User Interface with Multiple Skins" width="640" height="976" class="alignnone size-full wp-image-2944" /></p>
<p>The Package includes 3 different skins(psd&#8217;s)</p>
<p>let us know if you liked it.</p>
<p><a target="_blank" href="http://goo.gl/2ZRSV"><img class="alignnone size-full wp-image-512" title="Download file" src="http://bootstrap.pk/media/2009/12/download-btn.png" alt="" width="117" height="39" /></a></p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:-80px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbootstrap.pk%2Farticles%2Ffreebie-audio-player-user-interface-with-multiple-skins%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbootstrap.pk%2Farticles%2Ffreebie-audio-player-user-interface-with-multiple-skins%2F&amp;source=bsfreeplay&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://bootstrap.pk/articles/freebie-audio-player-user-interface-with-multiple-skins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Featured Artist – Danil Krivoruchko</title>
		<link>http://bootstrap.pk/inspiration/featured-artist-danil-krivoruchko/</link>
		<comments>http://bootstrap.pk/inspiration/featured-artist-danil-krivoruchko/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 05:36:34 +0000</pubDate>
		<dc:creator>Tamuir khan</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[motion design]]></category>

		<guid isPermaLink="false">http://bootstrap.pk/?p=2915</guid>
		<description><![CDATA[Today we are featuring an amazing artist from Moscow, Russia Danil Krivoruchko, His work is definitely worth a look. they way he puts together his artwork, its mesmerizing &#8211; and soft on the eyes. Having Interests in identity, interactive work and motion design. Here&#8217;s your inspirational dose for today. TNK Pulsar. Intel Fashion show &#124; [...]]]></description>
				<content:encoded><![CDATA[<p>Today we are featuring an amazing artist from Moscow, Russia <a href="http://www.myshli.com/">Danil Krivoruchko</a>, His work is definitely worth a look. they way he puts together his artwork, its mesmerizing &#8211; and soft on the eyes. Having Interests in identity, interactive work and motion design.</p>
<h3 class="blueHeading">Here&#8217;s your inspirational dose for today.</h3>
<p><br/></p>
<h5><span style="color: #03b5f9;">TNK Pulsar.</span><br />
<object width="630" height="360"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=20236808"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="never"></param><param name="allownetworking" value="internal"></param><param name="flashvars" value="" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=20236808" type="application/x-shockwave-flash" allowscriptaccess="never" allownetworking="internal" allowfullscreen="true" width="630" height="360" flashvars=""></embed></object></h5>
<p><br/></p>
<h5><span style="color: #03b5f9;">Intel Fashion show | Intro loop.</span><br />
<object width="630" height="360"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=25573104"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="never"></param><param name="allownetworking" value="internal"></param><param name="flashvars" value="" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=25573104" type="application/x-shockwave-flash" allowscriptaccess="never" allownetworking="internal" allowfullscreen="true" width="630" height="360" flashvars=""></embed></object></h5>
<p><br/></p>
<h5><span style="color: #03b5f9;">MeeGo OS Promo. How MeeGo works with social network.</span><br />
<object width="630" height="360"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=19522475"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="never"></param><param name="allownetworking" value="internal"></param><param name="flashvars" value="" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=19522475" type="application/x-shockwave-flash" allowscriptaccess="never" allownetworking="internal" allowfullscreen="true" width="630" height="360" flashvars=""></embed></object></h5>
<p><br/></p>
<h5><span style="color: #03b5f9;">Intel Fashion show | Acer.</span><br />
<object width="630" height="360"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=25572381"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="never"></param><param name="allownetworking" value="internal"></param><param name="flashvars" value="" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=25572381" type="application/x-shockwave-flash" allowscriptaccess="never" allownetworking="internal" allowfullscreen="true" width="630" height="360" flashvars=""></embed></object></h5>
<p><br/></p>
<h5><span style="color: #03b5f9;">Megafon | Winter sports.</span><br />
<object width="630" height="360"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=26418741"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="never"></param><param name="allownetworking" value="internal"></param><param name="flashvars" value="" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=26418741" type="application/x-shockwave-flash" allowscriptaccess="never" allownetworking="internal" allowfullscreen="true" width="630" height="360" flashvars=""></embed></object></h5>
<p><br/></p>
<h5><span style="color: #03b5f9;">Music video for KORNEY`s &#8220;FLARES&#8221;.</span><br />
<object width="630" height="360"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=8755910"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="never"></param><param name="allownetworking" value="internal"></param><param name="flashvars" value="" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=8755910" type="application/x-shockwave-flash" allowscriptaccess="never" allownetworking="internal" allowfullscreen="true" width="630" height="360" flashvars=""></embed></object></h5>
<p><br/></p>
<h5><span style="color: #03b5f9;">Intel Fashion show | HP.</span><br />
<object width="630" height="360"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=25571928"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="never"></param><param name="allownetworking" value="internal"></param><param name="flashvars" value="" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=25571928" type="application/x-shockwave-flash" allowscriptaccess="never" allownetworking="internal" allowfullscreen="true" width="630" height="360" flashvars=""></embed></object></h5>
<p><br/></p>
<h5><span style="color: #03b5f9;">Eurovision`09 IDs sketches.</span><br />
<img width="630px" src="http://bootstrap.pk/media/2011/07/featuredArtist_DanielK_card_russia_1.jpg" alt="Featured Artist - Danil Krivoruchko" /><br />
<img width="630px" src="http://bootstrap.pk/media/2011/07/featuredArtist_DanielK_card_russia_2.jpg" alt="Featured Artist - Danil Krivoruchko" /></p>
<p>That&#8217;s it for today folks and do tell us which creative artists you like/follow for inspiration.<br />
<br/><br/></p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:-80px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbootstrap.pk%2Finspiration%2Ffeatured-artist-danil-krivoruchko%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbootstrap.pk%2Finspiration%2Ffeatured-artist-danil-krivoruchko%2F&amp;source=bsfreeplay&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://bootstrap.pk/inspiration/featured-artist-danil-krivoruchko/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<enclosure url="http://vimeo.com/moogaloop.swf?clip_id=20236808" length="-1" type="application/x-shockwave-flash" /></item>
		<item>
		<title>20 Amazing Retro HTML5 Websites</title>
		<link>http://bootstrap.pk/inspiration/20-amazing-retro-html5-websites/</link>
		<comments>http://bootstrap.pk/inspiration/20-amazing-retro-html5-websites/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 06:14:04 +0000</pubDate>
		<dc:creator>LabibJ</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Retro]]></category>
		<category><![CDATA[Showcase]]></category>

		<guid isPermaLink="false">http://bootstrap.pk/?p=2881</guid>
		<description><![CDATA[Hi Last week we posted an showcased some Amazing HTML5 Websites for your inspiration. This week, it&#8217;s 20 Amazing Retro HTML5 Websites. As the next-gen fundamental markup language, HTML5 has already redefined the possibilities of ideas in web design &#038; development. Below are some websites that have done exactly that with a little twist of [...]]]></description>
				<content:encoded><![CDATA[<p>Hi<br />
Last week we posted an showcased some <a href="http://bootstrap.pk/inspiration/showcase-amazing-html5-websites-1/">Amazing HTML5 Websites</a> for your inspiration.</p>
<p>This week, it&#8217;s 20 Amazing Retro HTML5 Websites.<br />
As the next-gen fundamental markup language, HTML5 has already redefined the possibilities of ideas in web design &#038; development. Below are some websites that have done exactly that with a little twist of Vintage &#038; Retro design.</p>
<p>Enjoy.</p>
<h3 class="blueheading">Visual Republic</h3>
<p><a href="http://visualrepublic.net/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-01.png" alt="" /></a></p>
<h3 class="blueheading">Paradox-Labs</h3>
<p><a href="http://www.paradox-labs.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-02.png" alt="" /></a></p>
<h3 class="blueheading">Pointless Corp</h3>
<p><a href="http://www.pointlesscorp.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-03.png" alt="" /></a></p>
<h3 class="blueheading">Love, Detroit</h3>
<p><a href="http://love-detroit.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-04.png" alt="" /></a></p>
<h3 class="blueheading">Jewell And Ginnie</h3>
<p><a href="http://jewellandginnie.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-05.png" alt="" /></a></p>
<h3 class="blueheading">Rainypixels</h3>
<p><a href="http://rainypixels.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-06.png" alt="" /></a></p>
<h3 class="blueheading">Ryan Scherf</h3>
<p><a href="http://www.ryanscherf.net/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-07.png" alt="" /></a></p>
<h3 class="blueheading">BountyBev</h3>
<p><a href="http://www.bountybev.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-08.png" alt="" /></a></p>
<h3 class="blueheading">HD Live</h3>
<p><a href="http://www.hd-live.co.uk/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-09.png" alt="" /></a></p>
<h3 class="blueheading">Florida After Seven</h3>
<p><a href="http://floridaafterseven.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-10.png" alt="" /></a></p>
<h3 class="blueheading">Quality Laundry Professionals</h3>
<p><a href="http://qlpros.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-11.png" alt="" /></a></p>
<h3 class="blueheading">Love For Japan</h3>
<p><a href="http://www.loveforjapan.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-12.png" alt="" /></a></p>
<h3 class="blueheading">Marc Thomas</h3>
<p><a href="http://mrcthms.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-13.png" alt="" /></a></p>
<h3 class="blueheading">Peter Coles</h3>
<p><a href="http://www.petercolesdc.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-14.png" alt="" /></a></p>
<h3 class="blueheading">Orlando Advertising</h3>
<p><a href="http://soapboxmarketinggroup.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-15.png" alt="" /></a></p>
<h3 class="blueheading">EduSoCal’11</h3>
<p><a href="http://edusocal.org/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-16.png" alt="" /></a></p>
<h3 class="blueheading">Bronco</h3>
<p><a href="http://www.bronco.co.uk/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-17.png" alt="" /></a></p>
<h3 class="blueheading">Activate</h3>
<p><a href="http://preparetoactivate.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-18.png" alt="" /></a></p>
<h3 class="blueheading">Dilly Deli</h3>
<p><a href="http://www.dillydelitulsa.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-19.png" alt="" /></a></p>
<h3 class="blueheading">FRONTEND 2011</h3>
<p><a href="http://www.frontend2011.com/"><img src="http://bootstrap.pk/media/2011/06/20-amazing-retro-html5-websites-20.png" alt="" /></a>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:-80px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbootstrap.pk%2Finspiration%2F20-amazing-retro-html5-websites%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbootstrap.pk%2Finspiration%2F20-amazing-retro-html5-websites%2F&amp;source=bsfreeplay&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://bootstrap.pk/inspiration/20-amazing-retro-html5-websites/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS BASED THREE STATES BUTTON – BETTER UX</title>
		<link>http://bootstrap.pk/tutorials/css-based-three-state-buttons-better-ux/</link>
		<comments>http://bootstrap.pk/tutorials/css-based-three-state-buttons-better-ux/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 17:03:19 +0000</pubDate>
		<dc:creator>Tamuir khan</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[UI]]></category>

		<guid isPermaLink="false">http://bootstrap.pk/?p=2852</guid>
		<description><![CDATA[Hello Folks, here i am with another small but very nifty technique for making Three states button, i was rigging the User Interface for a prototype that i was building, it required me to have push buttons that would be controlled through Javascript&#124;jQuery later on. My Image Sprites So what i did was create a [...]]]></description>
				<content:encoded><![CDATA[<p>Hello Folks, here i am with another small but very nifty technique for making<strong> Three states button</strong>, i was rigging the User Interface for a prototype that i was building, it required me to have push buttons that would be controlled through Javascript|jQuery later on. </p>
<h3>My Image Sprites</h3>
<p><img src="http://bootstrap.pk/media/2011/06/Css-Based-Three-State-Buttons-01.jpg" alt="" title="CSS BASED THREE STATE BUTTONS – BETTER UX" width="600" height="359" class="alignnone size-full wp-image-2857" /><br />
So what i did was create a simple Html based Anchor Tags and by using one of the Image replacement techniques, i was able to achieve this effect, which i thought i would share with you guys as a small tutorial.</p>
<h3>Here is my Html Markup</h3>
<pre class="brush: html">
&amp;lt;body&amp;gt;
&amp;lt;div id=&amp;quot;container&amp;quot;&amp;gt;
  &amp;lt;h1&amp;gt;DEMO: CSS Based Three State Buttons - Better UX&amp;lt;/h1&amp;gt;
  &amp;lt;div id=&amp;quot;submitBtn&amp;quot;&amp;gt; &amp;lt;a class=&amp;quot;submitApp&amp;quot; href=&amp;quot;#&amp;quot; title=&amp;quot;Submit my Application&amp;quot;&amp;gt;&amp;lt;/a&amp;gt; &amp;lt;/div&amp;gt;
  &amp;lt;div id=&amp;quot;attachImg&amp;quot;&amp;gt; &amp;lt;a class=&amp;quot;attach&amp;quot; href=&amp;quot;#&amp;quot; title=&amp;quot;Submit my Application&amp;quot;&amp;gt;&amp;lt;/a&amp;gt; &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
</pre>
<h3>CSS Styles</h3>
<pre class="brush: css">
* {
	margin:0px;
	padding:0px;
}
body {
	font-family: &#039;Nunito&#039;, serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	text-shadow: none;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0em;
	word-spacing: 0em;
	line-height: 1.2;
}
#container {
	margin: 0px auto;
	overflow:hidden;
	width: 800px;
}
h1 {
	padding: 50px 0;
	width: 550px;
}
#submitBtn {
	margin: 15px 0px;
}
a.submitApp {
	background:url(imgs/submitmyapp.png) no-repeat top;
	width: 194px;
	height: 42px;
	text-indent: 9999;
	display:block
}
a.submitApp:hover {
	background-position: 0 -52px;
}
a.submitApp:active {
	background-position: 0 -105px;
}
a.attach {
	background:url(imgs/attach.png) no-repeat top;
	width: 136px;
	height: 40px;
	text-indent: 9999px;
	display:block
}
a.attach:hover {
	background-position: 0 -42px;
}
a.attach:active {
	background-position: 0 -82px;
}
</pre>
<p><H3>Here&#8217;s how it looks in the browser.</H3><br />
<img src="http://bootstrap.pk/media/2011/06/Css-Based-Three-State-Buttons-02.jpg" alt="" title="CSS BASED THREE STATE BUTTONS – BETTER UX" width="600" height="359" class="alignnone size-full wp-image-2857" /></p>
<p>Until Next time.. <strong>Ciao</strong>!<br />
<br/><br />
<a target="_blank" href="http://goo.gl/hYA2J"><img class="alignnone size-full wp-image-512" style="margin-right: 8px;" title="Download file" src="http://bootstrap.pk/media/2009/12/download-btn.png" alt="Download file" width="117" height="39" /></a><a target="_blank" href="http://bootstrap.pk/demo/threestatebuttons/"><img class="alignnone size-full wp-image-513" title="demo-btn" src="http://bootstrap.pk/media/2009/12/demo-btn.png" alt="demo-btn" width="79" height="39" /></a></p>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:-80px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbootstrap.pk%2Ftutorials%2Fcss-based-three-state-buttons-better-ux%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fbootstrap.pk%2Ftutorials%2Fcss-based-three-state-buttons-better-ux%2F&amp;source=bsfreeplay&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://bootstrap.pk/tutorials/css-based-three-state-buttons-better-ux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
