<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mozilla Web Development &#187; Design</title>
	<atom:link href="http://blog.mozilla.com/webdev/category/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/webdev</link>
	<description>Everybody Likes Ninjas</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:41:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Stay Hungry, Stay Foolish</title>
		<link>http://blog.mozilla.com/webdev/2011/10/05/stay-hungry-stay-foolish/</link>
		<comments>http://blog.mozilla.com/webdev/2011/10/05/stay-hungry-stay-foolish/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 04:13:51 +0000</pubDate>
		<dc:creator>Matthew Riley MacPherson</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/webdev/?p=2100</guid>
		<description><![CDATA[Steve Jobs died today. We &#8212; that is, the collective world of computer scientists, designers, and I dare say anyone who tried to make people&#8217;s lives easier through technology &#8212; have truly lost a mentor, a visionary, an examplar. I&#8217;ll leave everyone a bit of time to be sad, to mourn, to feel deflated. But [...]]]></description>
			<content:encoded><![CDATA[<p>Steve Jobs died today.</p>
<p>We &#8212; that is, the collective world of computer scientists, designers, and I dare say anyone who tried to make people&#8217;s lives easier through technology &#8212; have truly lost a mentor, a visionary, an examplar.</p>
<p>I&#8217;ll leave everyone a bit of time to be sad, to mourn, to feel deflated. But let&#8217;s not dwell on the fact that this man was taken from us too soon. For a man like Jobs, death would always come &#8220;too soon&#8221;. Let&#8217;s remember a man who steered his company until his near final days. A man who was forced out of his company only to restore it to a level of glory it never previously knew. A man who &#8212; again and again &#8212; changed the world&#8230; and won. A man who created the PC industry thirty years ago with the Apple computer, only to worry everyone that he would phase it out thirty years after with the iPad. A man who put a wealth of knowledge on our desks, in our hands, and in our pockets. He&#8217;s led one Hell of a life.</p>
<p>During his now-famous and soon-to-be oft-quoted <a href="http://www.youtube.com/watch?v=UF8uR6Z6KLc">Stanford commencement speech</a>, Steve Jobs urged the attendees of his speech: &#8220;Stay Hungry, Stay Foolish&#8221;.</p>
<p>If there ever comes a day when we forget the impact that Steve Jobs had on computing, let&#8217;s never forget that urge he pushed the students of Stanford to cede to:</p>
<p><strong>Stay Hungry, Stay Foolish</strong></p>
<p>Don&#8217;t think that what you want to do is too grandiose, too sweeping, too drastic, too focused, too nerdy, too expensive, too subtle, too understated, or too unimportant.</p>
<p>Steve Jobs&#8217; speech at Stanford included the following two paragraphs, which I will include verbatim, right before his reference to the title of this post:</p>
<blockquote style="display: block; margin-left: 50px;"><p>No one wants to die. Even people who want to go to heaven don’t want to die to get there. And yet death is the destination we all share. No one has ever escaped it. And that is as it should be, because Death is very likely the single best invention of Life. It is Life’s change agent. It clears out the old to make way for the new. Right now the new is you, but someday not too long from now, you will gradually become the old and be cleared away. Sorry to be so dramatic, but it is quite true.</p>
<p>Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma — which is living with the results of other people’s thinking. Don’t let the noise of others’ opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.</p>
</blockquote>
<p>Go make something awesome. Go do something no one thinks will work. Go kick ass.</p>
<p>Stay Hungry, Stay Foolish.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/webdev/2011/10/05/stay-hungry-stay-foolish/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>GetFirebug.com redesign launched!</title>
		<link>http://blog.mozilla.com/webdev/2010/02/08/getfirebug-com-redesign-launched/</link>
		<comments>http://blog.mozilla.com/webdev/2010/02/08/getfirebug-com-redesign-launched/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 16:03:05 +0000</pubDate>
		<dc:creator>Neil Lee</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[Sans nom]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/webdev/2010/02/08/getfirebug-com-redesign-launched/</guid>
		<description><![CDATA[After a much-too-long delay, the GetFirebug.com web site redesign is now live. Here's a few production notes and other thoughts on how the revamped web site for one of the top web development tools came into being.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve happened across the <a href="http://getfirebug.com/">GetFirebug.com</a> web site recently, you&#8217;ll notice everything has a rather pleasant freshly painted smell. After a much-too-long delay, we&#8217;ve finally updated the design and layout for the official Firebug web site, and introduced a lovely new icon by our resident Iconmaster General <a href="http://seanmartell.com/">Sean Martell</a>.</p>
<p>Even with intense competition from tools integrated into other web browsers, Firebug is arguably still the leading web development tool in use, with <a href="https://addons.mozilla.org/en-US/statistics/addon/1843">nearly two million active daily users</a>. Its web site needed to reflect Firebug&#8217;s capabilities more clearly. With that in mind, the primary goals with this redesign were to make the official Firebug web site easier to use, more pleasant to look at, and give Firebug more of a traditional software-style layout to highlight its many positive qualities.</p>
<h2>GetFirebug.com: Before</h2>
<div class="thumbimg"><a href="http://blog.mozilla.com/webdev/files/2010/02/firebug-original1.png"><img style="border:1px solid #aaa" src="http://blog.mozilla.com/webdev/files/2010/02/firebug-original-tm.jpg" alt="firebug-original.png" width="650" height="487" /></a></div>
<h2>GetFirebug.com: After</h2>
<div class="thumbimg"><a href="http://blog.mozilla.com/webdev/files/2010/02/Firebug-new1.png"><img style="border:1px solid #aaa" src="http://blog.mozilla.com/webdev/files/2010/02/Firebug-new-tm.jpg" alt="Firebug-new.png" width="650" height="491" /></a></div>
<p>It&#8217;s a fairly straightforward design, so there&#8217;s not a lot of interesting production notes to highlight, but here&#8217;s some specifics on what went into this redesign:</p>
<ul>
<li>The layout is roughly based on the <a href="http://960.gs/">960 grid system</a>. The original hope was to do the site in a fully fluid layout, but time constrains intervened.</li>
<li>Headers and pull text are in the gorgeous (and open source!) <a href="http://www.campivisivi.net/titillium/">Tittillium</a>, thanks to <a href="https://developer.mozilla.org/index.php?title=En/CSS/%40font-face">@font-face</a>. The body text was originally set in <a href="http://www.droidfonts.com/">Droid</a>, but due to a legibility issue on Windows machines with text-smoothing disabled, it was switched to the more common Trebuchet MS.</li>
<li>The pages are build using the HTML5 doctype, with <a href="http://jquery.com/">JQuery</a> and the <a href="http://fancybox.net/">Fancybox</a> plugin powering the modal pop-ups.</li>
<li>The screencast on the homepage uses the <a href="http://camendesign.com/code/video_for_everybody">Video for Everybody</a> system to embed the OGG video, with MP4 and Flash fallback for other user agents.</li>
<li>The homepage blog feed pulls in from the <a href="http://blog.getfirebug.com/">Firebug weblog</a> RSS feed using <a href="http://simplepie.org/">SimplePie</a>.</li>
<li>For this iteration, we wanted to switch the site over to a simple content management system, and ended up settling on <a href="http://grabaperch.com/">Perch</a>. It has its shortcomings, but it was straightforward enough and easy enough for me (mostly a designer/UX guy) to implement.</li>
<li>Sean passed along a few images that inspired the sparkly new icon. Originally, we tossed around the idea of doing something cartoony and heroic, like <a href="http://mozilla.seanmartell.com/firebug_torch.png">this lil&#8217; dude</a>, but ultimately decided to go with a more, well, buggier bug.</li>
<li>Photographic inspiration:  <a href="http://www.ent.iastate.edu/images/coleoptera/dogbane/dogbane_beetle.jpg">Bug 1</a> • <a href="http://www.wildanimalsonline.com/insect/firebug-pyrrhocorisapterus.jpg">Bug 2</a> • <a href="http://farm4.static.flickr.com/3176/2738273721_ec11488947.jpg">Bug 3</a> • <a href="http://www.naturspaziergang.de/insecta/Wanzen/Wanzen-Fotos/Pyrrhocoris_apterus-03-03-09_001.jpg">Bugs!</a></li>
</ul>
<p>It&#8217;s been a long time coming, and we hope you like GetFirebug.com&#8217;s new set of clothes. The content is currently being updated and will roll out as it is completed, but in the meantime, please <a href="http://getfirebug.com/">kick the tires</a> and let us know what you think.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/webdev/2010/02/08/getfirebug-com-redesign-launched/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS Gradients Tutorials</title>
		<link>http://blog.mozilla.com/webdev/2009/11/30/css-gradients-tutorials/</link>
		<comments>http://blog.mozilla.com/webdev/2009/11/30/css-gradients-tutorials/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 23:21:19 +0000</pubDate>
		<dc:creator>Ryan Doherty</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/webdev/?p=800</guid>
		<description><![CDATA[hacks.mozilla.org has two great tutorials up about CSS gradients available in Firefox 3.6: css gradients in Firefox 3.6 building beautiful buttons with css gradients Really awesome stuff, looking forward to seeing more and more designs that are normally done with lots of images to be created with CSS!]]></description>
			<content:encoded><![CDATA[<p><a href="http://hacks.mozilla.org">hacks.mozilla.org</a> has two great tutorials up about CSS gradients available in Firefox 3.6:</p>
<ul>
<li><a href="http://hacks.mozilla.org/2009/11/css-gradients-firefox-36/">css gradients in Firefox 3.6</a></li>
<li><a href="http://hacks.mozilla.org/2009/11/building-beautiful-buttons-with-css-gradients/">building beautiful buttons with css gradients</a></li>
</ol>
<p>Really awesome stuff, looking forward to seeing more and more designs that are normally done with lots of images to be created with CSS!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/webdev/2009/11/30/css-gradients-tutorials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Spriting Tips</title>
		<link>http://blog.mozilla.com/webdev/2009/03/27/css-spriting-tips/</link>
		<comments>http://blog.mozilla.com/webdev/2009/03/27/css-spriting-tips/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 22:36:32 +0000</pubDate>
		<dc:creator>Ryan Doherty</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/webdev/?p=325</guid>
		<description><![CDATA[One of the most effective ways of speeding up a website&#8217;s render time is to reduce the number of HTTP requests required to fetch content. An effective method to achieve this is via CSS sprites, which is combining multiple images into one large image and using CSS to only display parts of it. Here&#8217;s an [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most effective ways of speeding up a website&#8217;s render time is to reduce the number of HTTP requests required to fetch content. An effective method to achieve this is via CSS sprites, which is combining multiple images into one large image and using CSS to only display parts of it.</p>
<p>Here&#8217;s an example sprite:</p>
<p><a href="http://blog.mozilla.com/webdev/files/2009/03/main-sprites1.png"><img src="http://blog.mozilla.com/webdev/files/2009/03/main-sprites1.png" alt="Sprite Example" title="Sprite Example" width="450" height="548" class="alignnone size-full wp-image-335" /></a></p>
<p>The purpose of this post is not to show how it makes a site faster, but cover some best practices when creating a CSS sprite.</p>
<h3>Don&#8217;t wait until you are done slicing to begin spriting. </h3>
<p>The problem with waiting until you&#8217;ve built the site is all your CSS and images have already been created. You will have to go back and re-write your CSS. You&#8217;ll also spend a ton of time in Photoshop attempting to fit 20-30 graphics into a sprite at once, which is extremely painful and tedious. It&#8217;s much easier to build the sprite step by step.</p>
<h3>Arrange images opposite of how they will be displayed</h3>
<p>This tip is a little confusing and I didn&#8217;t learn this until I was halfway through creating a large sprite. If an image is supposed to appear on the left of an element: </p>
<p><a href="http://blog.mozilla.com/webdev/files/2009/03/picture-2.png"><img src="http://blog.mozilla.com/webdev/files/2009/03/picture-2.png" alt="Sprite positioning example" title="Sprite positioning example" width="203" height="28" class="alignnone size-full wp-image-338" /></a></p>
<p>Put that image to the right of the sprite (see sprite image from above). This way when you move the background image via CSS, there is no possible way any other image will display next to it. A common problem when creating CSS sprites is positioning images so they don&#8217;t appear as part of a background for the wrong element.</p>
<h3>Avoid &#8216;bottom&#8217; or &#8216;right&#8217; in CSS when positioning</h3>
<p>When positioning a CSS sprite behind an element, it&#8217;s very easy to use background-position: bottom -300px; or background-position: right -200px;. This will work initially, but the problem with it is once you expand your sprite in width or height, your positioning will be wrong as the images are no longer at the bottom or right of the sprite. Using explicit positioning in pixels avoids this issue.</p>
<h3>Give each image plenty of space</h3>
<p>As you can see from the example sprite, many tiny images are given lots of space. Why not just cram them all together to make the sprite smaller? Because the elements they are used on will most likely have variable content and need that extra padding so other images don&#8217;t show up.</p>
<p>Here&#8217;s an example:<br />
<a href="http://blog.mozilla.com/webdev/files/2009/03/picture-3.png"><img src="http://blog.mozilla.com/webdev/files/2009/03/picture-3.png" alt="Variable content example" title="Variable content example" width="302" height="189" class="alignnone size-full wp-image-342" /></a></p>
<p>Each list item has a graphical number as a background image. If you look at the sprite shown above, you can see how the images were staggered so that if the content increased, no other images would show up. </p>
<h3>Don&#8217;t worry about sprite pixel size</h3>
<p>Chances are if your site is decently designed, you will have a lot of images to put in your sprite. And you&#8217;ll need a pretty large sprite to space the images out appropriately. And that&#8217;s <strong>fine</strong>. Empty space in a sprite does not take up much of a file&#8217;s size.  The <a href="https://addons.mozilla.org/img/sprite.png?20081210">sprite used for addons.mozilla.org</a> is 1,000&#215;2,000 pixels and is only <strong>16.7kb!</strong></p>
<p>Got other tips? Leave a comment!</p>
<h3>More Resources</h3>
<ul>
<li><a href="http://css-tricks.com/css-sprites-what-they-are-why-theyre-cool-and-how-to-use-them/">CSS Sprites Tutorial</a></li>
<li><a href="http://spritegen.website-performance.org/">CSS Sprite Generator</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/webdev/2009/03/27/css-spriting-tips/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
	</channel>
</rss>

