<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Speckyboy Design Magazine</title> <link>http://speckyboy.com</link> <description>Web Design, Web Development and Graphic Design Resources</description> <lastBuildDate>Wed, 16 May 2012 07:16:34 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/speckboy-design-magazine" /><feedburner:info uri="speckboy-design-magazine" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>speckboy-design-magazine</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Coding the Digg v4 Layout with HTML5 and CSS3</title><link>http://feedproxy.google.com/~r/speckboy-design-magazine/~3/PQzUlplNFaE/</link> <comments>http://speckyboy.com/2012/05/15/coding-the-digg-v4-layout-with-html5-and-css3/#comments</comments> <pubDate>Wed, 16 May 2012 07:16:34 +0000</pubDate> <dc:creator>Jake Rocheleau</dc:creator> <category><![CDATA[Web Design]]></category><guid isPermaLink="false">http://speckyboy.com/?p=23185</guid> <description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23185&c=1815890085' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23185&c=1815890085' border='0' alt='' /></a></p><br />The social news community Digg has been online since 2004 and rapidly grew in popularity leading up to the 2008 elections. Come 2011 the Digg team performed an overhaul on the system and completely revamped the site layout. This also broke the friends system, allowing big-name publishers to game the front page. This upset many powerhouse users who were furious with the major changes. Over time the site has slowly moved back towards its roots as a user-powered news community. [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23185&c=1106575583' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23185&c=1106575583' border='0' alt='' /></a></p>]]></description> <content:encoded><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23185&c=819584690' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23185&c=819584690' border='0' alt='' /></a></p><br /><p>The social news community Digg has been online since 2004 and rapidly grew in popularity leading up to the 2008 elections. Come 2011 the Digg team performed an overhaul on the system and completely revamped the site layout. This also broke the friends system, allowing big-name publishers to game the front page. This upset many powerhouse users who were furious with the major changes.</p><p>Over time the site has slowly moved back towards its roots as a  user-powered news community. And although the domain has lost some credibility, their design skills are still impeccable. So in this tutorial I want to explain how we can build a similar layout using static HTML5 and CSS3 properties. I won&#8217;t have time to cover every detail but you can download my attached source code and play around on your own.</p><p><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/featured-image-digg-v4-clone-html5.jpg" alt="Digg v4 clone in HTML5 and CSS3 - featured preview image" /></p><p><a href="http://speckyboy.com/demo/digg/index.html" class="button-med" target="_blank">Live Preview</a><a href="http://speckyboy.com/demo/digg/diggv4-source-code.zip" class="button-med">Download Source Code</a></p><h2>Building the Header</h2><p>I&#8217;ll tackle major areas in the layout beginning at the top and working down. For starters the heading band has a couple interesting features, namely the navigation links and search form. Here&#8217;s the first portion of the code:</p><pre class="brush: xml; title: ; notranslate">&lt;div id=&quot;header-wrap&quot;&gt;
	&lt;header class=&quot;clearfix&quot;&gt;
		&lt;a href=&quot;#&quot; class=&quot;logo&quot;&gt;Diggy&lt;/a&gt;

		&lt;nav class=&quot;clearfix&quot;&gt;
			&lt;a href=&quot;#&quot; class=&quot;sel&quot;&gt;Top News&lt;/a&gt;
			&lt;a href=&quot;#&quot;&gt;Newswire&lt;/a&gt;
			&lt;a href=&quot;#&quot;&gt;Newsrooms&lt;/a&gt;
		&lt;/nav&gt;
</pre><p>As you can tell I&#8217;m using a wrapper div to house the entire blue background. However the content is placed inside an HTML5 <a href="http://www.w3schools.com/html5/tag_header.asp"><code>&lt;header></code> tag</a> which is centered at 1000px width. For the top navigation I&#8217;ve also included the <a href="http://www.w3schools.com/html5/tag_nav.asp"><code>&lt;nav></code></a> tag</a> with internal anchor links.</p><pre class="brush: css; title: ; notranslate">#header-wrap { height: 48px; background-color: #14589e; border-bottom: 1px solid #0d4f92; }
#header-wrap header { display: block; width: 1000px; margin: 0 auto; padding: 7px 15px 5px 15px;  }

#header-wrap header nav a {
margin: -2px 1px -5px 0;
padding: 0 10px;
height: 40px;
line-height: 49px;
display: block;
font-size: 1.3em;
font-weight: bold;
color: #fff;
float: left;
}
#header-wrap header nav a.sel {
background-color: #194989;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
}
#header-wrap header nav a:hover {
background-color: #194989;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
cursor: pointer;
}
</pre><p>It&#8217;s so much easier to setup block-style links and float them right next to each other. Also I&#8217;ve taken advantage of the CSS3 rounded corner properties, both on these links and for the categories list. Even the register and login buttons are using rounded corners. They look fantastic and have been a luxury up until now.</p><h2>Categories List</h2><p>Instead of setting up another nav element I&#8217;ve instead used an unordered list of links. The categories block underneath the header is actually placed inside another div with the ID <code>#core-content</code>. This centers the rest of our page to the 1000px width while also letting the background flow 100% of the browser window.</p><p>I copied over most of the important CSS properties for this section. It&#8217;s easy to get lost, but the links do look incredible. In fact, both the containing div and unordered list have bottom borders. This gives off the illusion of a double division line.</p><pre class="brush: css; title: ; notranslate">#core-content .categories { border-bottom: 1px solid #ccdcef; padding-bottom: 2px; }
#core-content .categories ul { border-bottom: 1px solid #ccdcef; padding: 10px 0; list-style: none; width: 100%; }
#core-content .categories ul li { margin-right: 8px; float: left; }

#core-content .categories ul li a { display: block; float: left; font-size: 1.2em; line-height: 1.1em; border: 1px solid transparent; color: #105cb6;  font-weight: bold; padding: 5px 9px 7px; text-decoration: none; }
#core-content .categories ul li a:hover { text-decoration: underline; }
#core-content .categories ul li.sel {  }
#core-content .categories ul li.sel a { background-color: #e3e8f4; border-color: #ccdcef;
border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; }
</pre><h2>Listing the Articles</h2><p>The frontpage links list is probably Digg&#8217;s official calling card. You can tell these individual blocks consist of quite a bit of markup &#8211; but it&#8217;s fairly simple to explain.</p><pre class="brush: xml; title: ; notranslate">
&lt;!-- begin story 1 --&gt;
&lt;div class=&quot;story clearfix&quot;&gt;
	&lt;div class=&quot;diggbtn&quot;&gt;
		&lt;div class=&quot;badge&quot;&gt;
		&lt;a href=&quot;#&quot; class=&quot;count-wrap&quot;&gt;&lt;span class=&quot;numcount&quot;&gt;&lt;span&gt;60&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;
		&lt;a href=&quot;#&quot; class=&quot;diggit&quot;&gt;&lt;/a&gt;
		&lt;/div&gt;
	&lt;/div&gt;

	&lt;div class=&quot;story-content&quot;&gt;
		&lt;div class=&quot;media&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;images/thumbs/s01.png&quot;&gt;&lt;/a&gt;&lt;/div&gt;
		&lt;div class=&quot;details&quot;&gt;
			&lt;h2&gt;&lt;a href=&quot;#&quot;&gt;Obamas kick off campaigning with rallies in must-win states&lt;/a&gt;&lt;/h2&gt;
			&lt;p&gt;
			&lt;a href=&quot;#&quot; class=&quot;sourcedomain&quot;&gt;reuters.com&lt;/a&gt;
			&lt;a href=&quot;#&quot; class=&quot;teaser&quot;&gt;â€” WASHINGTON (Reuters) - With his wife at his side and Air Force One as a campaign plane, President Barack Obama holds his first political rallies &lt;span class=&quot;timestamp&quot;&gt;2 mins ago&lt;/span&gt;&lt;/a&gt;
			&lt;/p&gt;
		&lt;/div&gt;
		&lt;ul class=&quot;meta&quot;&gt;
			&lt;li class=&quot;submitter&quot;&gt;via &lt;a href=&quot;#&quot;&gt;Mikeymicron&lt;/a&gt;&lt;/li&gt;
			&lt;li class=&quot;comment&quot;&gt;&lt;a href=&quot;#&quot;&gt;2 Comments&lt;/a&gt;&lt;/li&gt;
			&lt;li class=&quot;save&quot;&gt;&lt;a href=&quot;#&quot;&gt;Save&lt;/a&gt;&lt;/li&gt;
			&lt;li class=&quot;bury&quot;&gt;&lt;a href=&quot;#&quot;&gt;Bury&lt;/a&gt;&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/div&gt;
&lt;/div&gt;</pre><p>The wrapping div for each article has a class of <code>.story</code>. Inside are two more story classes: <code>.badge</code> for the voting bade and <code>.story-content</code> for everything to the right side. This would include the title, description, meta links, and thumbnail photo if available.</p><p>All of the styles for these elements are segregated into their own section of the stylesheet. The yellow digg badge uses a static BG image with dynamic text for the voting numbers. But overall there are way too many styles to go over, many of which do not contain anything new or interesting. But I have copied just the beginning portion for your reference.</p><pre class="brush: css; title: ; notranslate">/** stories **/
#core-content #left-col .story { display: block; border-bottom: 1px solid #ccdcef; padding: 10px 0; margin-bottom: 10px; }

#core-content #left-col .story .story-content { margin-left: 66px; }
#core-content #left-col .story .story-content .details { margin-bottom: 7px; }
#core-content #left-col .story .story-content .details h2 { display: block; font-size: 1.65em; line-height: 1.2em; margin-bottom: 8px; text-decoration: underline; font-weight: bold; }
#core-content #left-col .story .story-content .details h2 a { text-decoration: underline; }
#core-content #left-col .story .story-content .details h2 a:hover { text-decoration: none !important; color: #121212; }

#core-content #left-col .story .story-content .details p { margin-bottom: 12px; }
#core-content #left-col .story .story-content .details p a { color: #666;  }
#core-content #left-col .story .story-content .details p a:hover { color: #898989; }
#core-content #left-col .story .story-content .details .sourcedomain { border-bottom: 1px solid #cedbf1; color: #5f88ce; }
#core-content #left-col .story .story-content .details .sourcedomain:hover { color: #5f88ce; }
#core-content #left-col .story .story-content .details .timestamp { font-size: 0.9em; color: #999; }
</pre><h2>Pagination Buttons</h2><p>There is a small block located after all of the stories containing pagination links. This is also setup with an unordered list attached with special class names. I copied over the basic HTML in the snippet below.</p><pre class="brush: xml; title: ; notranslate">&lt;!-- paged navigation --&gt;
&lt;ul class=&quot;paged-navigation&quot;&gt;
	&lt;li class=&quot;prev&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;btn-default disabled&quot;&gt;Prev&lt;/a&gt;&lt;/li&gt;
	&lt;li class=&quot;num&quot;&gt;Page 1&lt;/li&gt;
	&lt;li class=&quot;next&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;btn-default&quot;&gt;Next&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</pre><p>The next and previous links are setup to float over to the left and right side. Meanwhile the main centered number text will actively display which page number you&#8217;re currently viewing. When you cannot go back or forward anymore the buttons are given an additional class <code>.disabled</code>. This simply drops the opacity down 50%, making the link appear inactive.</p><pre class="brush: css; title: ; notranslate">#core-content #left-col ul.paged-navigation {
display: block;
width: 100%;
background-color: #eee;
margin: 10px 0;
padding: 7px;
padding-top: 15px;
padding-bottom: 13px;
list-style: none;
text-align: center;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
#core-content #left-col ul.paged-navigation .disabled { opacity: 0.5; cursor: default; }
#core-content #left-col ul.paged-navigation .disabled:hover { cursor: default; }

#core-content #left-col ul.paged-navigation .prev { float: left; }
#core-content #left-col ul.paged-navigation .next { float: right; }
#core-content #left-col ul.paged-navigation .prev a, #core-content #left-col ul.paged-navigation .next a {
width: 3em;
font-size: 1.1em;
padding: 6px 10px;
}

#core-content #left-col ul.paged-navigation a.btn-default {
background: -webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#f3f3f3));
background: -moz-linear-gradient(top,#ffffff,#f3f3f3);
background-color: #f3f3f3;
border: 1px solid #aaa;
color: #333;
text-shadow: #fff 0 1px 0;
zoom: 1;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
font-weight: bold;
letter-spacing: -0.03em;
line-height: 1.25em;
}
</pre><p>This is the last block piece we have before closing the main left column. The whole content div is made up of just a left and right side, plus a simple footer. The style is very minimalist and works in the same archetype as classic Digg.</p><h2>Splitting Up the Footer</h2><p>Looking inside the main <code>#core-content</code> div I&#8217;ve actually squeezed three main blocks. The left and right columns are floating next to each other inside a cleared container. Both are fitted with the <a href="http://www.w3schools.com/html5/tag_section.asp">HTML5 <code>&lt;section></code> tag</a>. And we&#8217;re also using <a href="http://www.w3schools.com/html5/tag_footer.asp"><code>&lt;footer></code></a> in the very bottom block of links.</p><pre class="brush: xml; title: ; notranslate">&lt;footer&gt;
	&lt;ul class=&quot;data&quot;&gt;
		&lt;li class=&quot;copy&quot;&gt;Original Design by &lt;a href=&quot;http://digg.com/&quot;&gt;Digg Inc.&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;About Digg&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Advertise&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Partners&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;API &amp; Resources&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Blogs&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Jobs&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Help &amp; FAQ&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Terms of Service&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Privacy&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Top 100&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
&lt;/footer&gt;</pre><p>All of the main components are fairly straightforward to understand. There are possibly some newer properties I&#8217;ve used which you have never encountered before. But with just a quick Google search you can look further into all of them.</p><p>I left the right column open so there&#8217;s much more room for different block areas. These could include popular stories or recently logged in users. Overall I wanted the layout to be simple &#8211; merely a template to pay homage to Digg&#8217;s fantastic work. And also to prove that you can really build anything in HTML5 and CSS3.</p><p><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/digg-v4-footer-preview.jpg" alt="Digg v4 footer web design in HTML5" /></p><p><a href="http://speckyboy.com/demo/digg/index.html" class="button-med" target="_blank">Live Preview</a><a href="diggv4-source-code.zip" class="button-med">Download Source Code</a></p><h2>Conclusion</h2><p>Rebuilding the Digg v4 layout from scratch is exciting and certainly fun. Their team is very talented, and I&#8217;ve always been a fan of the social news genre. As I mentioned earlier feel free to download my example source code and play around with some of the properties. It&#8217;s easy to reorganize page elements and sample them in your own layouts.</p><h2>You might also like&#8230;</h2><p><a href="http://speckyboy.com/2012/04/25/how-to-build-an-accordion-image-gallery-with-only-css/">How to Build an Accordion Image Gallery with only CSS &rarr;</a><br /> <a href="http://speckyboy.com/2012/03/07/scroll-to-internal-link-with-jquery/">Scroll to Internal Link with jQuery &rarr;</a><br /> <a href="http://speckyboy.com/2011/10/12/how-to-build-a-sliding-one-page-portfolio-with-jquery/">How to Build a Sliding One Page Portfolio with jQuery &rarr;</a><br /> <a href="http://speckyboy.com/2011/10/19/hoverizr-an-in-depth-view-of-the-jquery-plugin/">Hoverizr &#8211; An in depth view of the jQuery plugin &rarr;</a><br /> <a href="http://speckyboy.com/2011/08/31/rubber-layouts-combining-static-and-fluid-layouts/">Rubber Layouts &#8211; Combining Static and Fluid Layouts &rarr;</a><br /> <a href="http://speckyboy.com/2011/08/15/how-to-build-a-fully-functional-css3-only-content-slider/">How to Build a Fully Functional CSS3-Only Content Slider &rarr;</a><br /> <a href="http://speckyboy.com/2011/08/01/resize-images-in-a-post-with-jquery-and-turn-it-into-a-plugin/">Resize Images in a Post with jQuery, and turn it into a plugin &rarr;</a><br /> <a href="http://speckyboy.com/2011/07/18/getting-started-with-wordpress-shortcodes-examples/">Getting Started with WordPress Shortcodes (+Examples) &rarr;</a></p> <br /><p><a href='http://rss.buysellads.com/click.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23185&c=1465782941' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23185&c=1465782941' border='0' alt='' /></a></p>
<p><a href="http://feedads.g.doubleclick.net/~a/-GvHm0Q3JUGVI8afsjWMJYIjKSs/0/da"><img src="http://feedads.g.doubleclick.net/~a/-GvHm0Q3JUGVI8afsjWMJYIjKSs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/-GvHm0Q3JUGVI8afsjWMJYIjKSs/1/da"><img src="http://feedads.g.doubleclick.net/~a/-GvHm0Q3JUGVI8afsjWMJYIjKSs/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=PQzUlplNFaE:B3cFSkg7VEU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=PQzUlplNFaE:B3cFSkg7VEU:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=PQzUlplNFaE:B3cFSkg7VEU:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=PQzUlplNFaE:B3cFSkg7VEU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=PQzUlplNFaE:B3cFSkg7VEU:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=PQzUlplNFaE:B3cFSkg7VEU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=PQzUlplNFaE:B3cFSkg7VEU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=PQzUlplNFaE:B3cFSkg7VEU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=PQzUlplNFaE:B3cFSkg7VEU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=PQzUlplNFaE:B3cFSkg7VEU:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/speckboy-design-magazine/~4/PQzUlplNFaE" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://speckyboy.com/2012/05/15/coding-the-digg-v4-layout-with-html5-and-css3/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://speckyboy.com/2012/05/15/coding-the-digg-v4-layout-with-html5-and-css3/</feedburner:origLink></item> <item><title>20 More CSS3 Tutorials and Techniques for Creating Buttons</title><link>http://feedproxy.google.com/~r/speckboy-design-magazine/~3/OhZrG74VKoM/</link> <comments>http://speckyboy.com/2012/05/15/20-more-css3-tutorials-and-techniques-for-creating-buttons/#comments</comments> <pubDate>Tue, 15 May 2012 16:13:31 +0000</pubDate> <dc:creator>Paul Andrew</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Web Design]]></category><guid isPermaLink="false">http://speckyboy.com/?p=22328</guid> <description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=22328&c=1054014162' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=22328&c=1054014162' border='0' alt='' /></a></p><br />It has been well over a year since we last took a look at some of the latest CSS3 buttons techniques. And what a difference a year makes. No longer satisfied with just using the basic CSS3 properties (border-radius, box-shadow&#8230;), many developers have progressed to using @font-face icons, animation and 3D effects. All with only CSS. Hope you enjoy this selection: You might also like&#8230; 20 CSS3 Tutorials and Techniques for Creating Buttons &#8594; 22 CSS Button Styling Tutorials and [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=22328&c=1543259075' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=22328&c=1543259075' border='0' alt='' /></a></p>]]></description> <content:encoded><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=22328&c=1192331910' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=22328&c=1192331910' border='0' alt='' /></a></p><br /><p>It has been well over a <a href="http://speckyboy.com/2010/02/15/20-css3-tutorials-and-techiques-for-creating-buttons">year</a> since we last took a look at some of the latest CSS3 buttons techniques. And what a difference a year makes.</p><p>No longer satisfied with just using the basic CSS3 properties (border-radius, box-shadow&#8230;), many developers have progressed to using @font-face icons, animation and 3D effects. All with only CSS.</p><p>Hope you enjoy this selection:</p><div class="greybox">You might also like&#8230;<br /> <a href="http://speckyboy.com/2010/02/15/20-css3-tutorials-and-techiques-for-creating-buttons/">20 CSS3 Tutorials and Techniques for Creating Buttons &rarr;</a><br /> <a href="http://speckyboy.com/2009/05/27/22-css-button-styling-tutorials-and-techniques/">22 CSS Button Styling Tutorials and Techniques &rarr;</a><br /> <a href="http://speckyboy.com/2010/05/26/20-awesome-jquery-enhanced-css-button-techniques/">20 Awesome jQuery Enhanced CSS Button Techniques &rarr;</a><br /> <a href="http://speckyboy.com/2012/04/18/css3-menu-and-navigation-tutorials/">CSS3 Menu and Navigation Tutorials &rarr;</a><br /> Or, you could browse our extensive <a href="http://speckyboy.com/category/css/">CSS Archives</a>.</div><h2><a href="http://webdesignerwall.com/tutorials/css-social-buttons">CSS Social Buttons</a></h2><p><a href="http://webdesignerwall.com/tutorials/css-social-buttons"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_01.jpg" class="pin-it" alt="CSS Social Buttons"/></a><br /> <a href="http://webdesignerwall.com/tutorials/css-social-buttons" target="_blank" class="button-med">CSS Social Buttons</a><a href="http://webdesignerwall.com/demo/css-social-buttons/" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://webdesign.tutsplus.com/tutorials/site-elements/orman-clarks-chunky-3d-web-buttons-the-css3-version/">Orman Clark’s Chunky 3D Web Buttons</a></h2><p><a href="http://webdesign.tutsplus.com/tutorials/site-elements/orman-clarks-chunky-3d-web-buttons-the-css3-version/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_02.jpg" class="pin-it" alt="Orman Clark’s Chunky 3D Web Buttons"/></a><br /> <a href="http://webdesign.tutsplus.com/tutorials/site-elements/orman-clarks-chunky-3d-web-buttons-the-css3-version/" target="_blank" class="button-med">Orman Clark’s Chunky 3D Web Buttons</a><a href="http://webdesigntutsplus.s3.amazonaws.com/tuts/236_orman_buttons/demo.html" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://tympanus.net/codrops/2012/01/11/css-buttons-with-pseudo-elements/">CSS Buttons with Pseudo-elements</a></h2><p><a href="http://tympanus.net/codrops/2012/01/11/css-buttons-with-pseudo-elements/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_03.jpg" class="pin-it" alt="CSS Buttons with Pseudo-elements"/></a><br /> <a href="http://tympanus.net/codrops/2012/01/11/css-buttons-with-pseudo-elements/" target="_blank" class="button-med">CSS Buttons with Pseudo-elements</a><a href="http://tympanus.net/Tutorials/CSSButtonsPseudoElements/" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://www.inserthtml.com/2012/01/soft-pressure-buttons-css/">Soft, Customizable Pressure Buttons in CSS</a></h2><p><a href="http://www.inserthtml.com/2012/01/soft-pressure-buttons-css/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_04.jpg" class="pin-it" alt="Soft, Customizable Pressure Buttons in CSS"/></a><br /> <a href="http://www.inserthtml.com/2012/01/soft-pressure-buttons-css/" target="_blank" class="button-med">Soft, Customizable Pressure Buttons in CSS</a><a href="http://inserthtml.com/demo/buttons/index.html" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://tympanus.net/codrops/2011/11/07/animated-buttons-with-css3/">Animated Buttons with CSS3</a></h2><p><a href="http://tympanus.net/codrops/2011/11/07/animated-buttons-with-css3/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_05.jpg" class="pin-it" alt="Animated Buttons with CSS3"/></a><br /> <a href="http://tympanus.net/codrops/2011/11/07/animated-buttons-with-css3/" target="_blank" class="button-med">Animated Buttons with CSS3</a><a href="http://tympanus.net/Tutorials/AnimatedButtons/index.html" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://www.red-team-design.com/just-another-awesome-css3-buttons">Awesome CSS3 Buttons</a></h2><p><a href="http://www.red-team-design.com/just-another-awesome-css3-buttons"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_06.jpg" class="pin-it" alt="Awesome CSS3 Buttons"/></a><br /> <a href="http://www.red-team-design.com/just-another-awesome-css3-buttons" target="_blank" class="button-med">Awesome CSS3 Buttons</a><a href="http://www.red-team-design.com/wp-content/uploads/2011/09/awesome-css3-buttons.html" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://www.joepettersson.com/css3-buttons/">Simple CSS3 Buttons</a></h2><p><a href="http://www.joepettersson.com/css3-buttons/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_07.jpg" class="pin-it" alt="Simple CSS3 Buttons"/></a><br /> <a href="http://www.joepettersson.com/css3-buttons/" target="_blank" class="button-med">Simple CSS3 Buttons</a><a href="http://www.joepettersson.com/demo/css3-buttons/#" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://designshack.net/articles/css/downloadbutton/">Animated Download Button With CSS3</a></h2><p><a href="http://designshack.net/articles/css/downloadbutton/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_08.jpg" class="pin-it" alt="Animated Download Button With CSS3"/></a><br /> <a href="http://designshack.net/articles/css/downloadbutton/" target="_blank" class="button-med">Animated Download Button With CSS3</a><a href="http://designshack.net/tutorialexamples/animatedDownload/index.html" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://designmodo.com/create-css3-buttons/">How to Create CSS3 Buttons</a></h2><p><a href="http://designmodo.com/create-css3-buttons/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_09.jpg" class="pin-it" alt="How to Create CSS3 Buttons"/></a><br /> <a href="http://designmodo.com/create-css3-buttons/" target="_blank" class="button-med">How to Create CSS3 Buttons</a><a href="http://designmodo.com/demo/css3buttons/#" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://medialoot.com/item/free-css3-button-styles/">Free CSS3 Button Styles</a></h2><p><a href="http://medialoot.com/item/free-css3-button-styles/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_10.jpg" class="pin-it" alt="Free CSS3 Button Styles"/></a><br /> <a href="http://medialoot.com/item/free-css3-button-styles/" target="_blank" class="button-med">Free CSS3 Button Styles</a><a href="http://medialoot.com/preview/frame/css3-buttons.html" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://todc.github.com/css3-google-buttons/">CSS3 Google UI</a></h2><p><a href="http://todc.github.com/css3-google-buttons/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_11.jpg" class="pin-it" alt="CSS3 Google UI"/></a><br /> <a href="http://todc.github.com/css3-google-buttons/" target="_blank" class="button-med">CSS3 Google UI</a></p><h2><a href="http://code.shrapp.nl/google-plus-ui-buttons/demo.html">Google+ Styled UI Buttons</a></h2><p><a href="http://code.shrapp.nl/google-plus-ui-buttons/demo.html"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_12.jpg" class="pin-it" alt="Google+ Styled UI Buttons"/></a><br /> <a href="http://code.shrapp.nl/google-plus-ui-buttons/demo.html" target="_blank" class="button-med">Google+ Styled UI Buttons</a></p><h2><a href="http://a00.com.ar/compass_css3_buttons/">Twittter Buttons</a></h2><p><a href="http://a00.com.ar/compass_css3_buttons/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_13.jpg" class="pin-it" alt="Twittter Buttons"/></a><br /> <a href="http://a00.com.ar/compass_css3_buttons/" target="_blank" class="button-med">Twittter Buttons</a></p><h2><a href="http://hellohappy.org/css3-buttons/">CSS3 Buttons</a></h2><p><a href="http://hellohappy.org/css3-buttons/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_14.jpg" class="pin-it" alt="CSS3 Buttons"/></a><br /> <a href="http://hellohappy.org/css3-buttons/" target="_blank" class="button-med">CSS3 Buttons</a></p><h2><a href="https://github.com/MarcQualie/css3-buttons">CSS3 Buttons</a></h2><p><a href="https://github.com/MarcQualie/css3-buttons"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_15.jpg" class="pin-it" alt="CSS3 Buttons"/></a><br /> <a href="https://github.com/MarcQualie/css3-buttons" target="_blank" class="button-med">CSS3 Buttons</a></p><h2><a href="http://cssdeck.com/item/289/fancy-3d-button">Fancy 3D-Button</a></h2><p><a href="http://cssdeck.com/item/289/fancy-3d-button"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_16.jpg" class="pin-it" alt="Fancy 3D-Button"/></a><br /> <a href="http://cssdeck.com/item/289/fancy-3d-button" target="_blank" class="button-med">Fancy 3D-Button</a><a href="http://cssdeck.com/item/preview/289/fancy-3d-button" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://cssdeck.com/item/251/add-to-cart-buttons-colorable">Add to Cart Buttons</a></h2><p><a href="http://cssdeck.com/item/251/add-to-cart-buttons-colorable"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_17.jpg" class="pin-it" alt="Add to Cart Buttons"/></a><br /> <a href="http://cssdeck.com/item/251/add-to-cart-buttons-colorable" target="_blank" class="button-med">Add to Cart Buttons</a><a href="http://cssdeck.com/item/preview/251/add-to-cart-buttons-colorable" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://cssdeck.com/item/229/3d-facebook-button-concept">3D Facebook Button Concept</a></h2><p><a href="http://cssdeck.com/item/229/3d-facebook-button-concept"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_18.jpg" class="pin-it" alt="3D Facebook Button Concept"/></a><br /> <a href="http://cssdeck.com/item/229/3d-facebook-button-concept" target="_blank" class="button-med">3D Facebook Button Concept</a><a href="http://lab.aqro.be/fb_btn_concept.html" class="button-med" target="_blank">View the Demo</a></p><h2><a href="http://www.nublue.co.uk/blog/animated-css3-buy-now-button/">Animated CSS3 Buy Now Button</a></h2><p><a href="http://www.nublue.co.uk/blog/animated-css3-buy-now-button/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/04/css_buttons_19.jpg" class="pin-it" alt="Animated CSS3 Buy Now Button"/></a><br /> <a href="http://www.nublue.co.uk/blog/animated-css3-buy-now-button/" class="button-med" target="_blank">Animated CSS3 Buy Now Button</a></p><h2>You might also like&#8230;</h2><p><a href="http://speckyboy.com/2009/05/27/22-css-button-styling-tutorials-and-techniques/">22 CSS Button Styling Tutorials and Techniques &rarr;</a><br /> <a href="http://speckyboy.com/2010/05/26/20-awesome-jquery-enhanced-css-button-techniques/">20 Awesome jQuery Enhanced CSS Button Techniques &rarr;</a><br /> <a href="http://speckyboy.com/2010/02/15/20-css3-tutorials-and-techiques-for-creating-buttons/">20 CSS3 Tutorials and Techniques for Creating Buttons &rarr;</a><br /> <a href="http://speckyboy.com/2012/04/18/css3-menu-and-navigation-tutorials/">CSS3 Menu and Navigation Tutorials &rarr;</a><br /> <a href="http://speckyboy.com/2010/07/04/25-completely-free-fonts-perfect-for-fontface/">25 Free Fonts Perfect for @fontface &rarr;</a> &amp; <a href="http://speckyboy.com/2012/02/13/20-fontface-icon-sets/">@fontface Icons &rarr;</a><br /> <a href="http://speckyboy.com/2010/05/30/liquid-fluid-and-elastic-layout-templates-tools-and-frameworks/">Liquid, Fluid and Elastic Layout Templates, Tools and Frameworks &rarr;</a><br /> <a href="http://speckyboy.com/2010/04/26/30-pure-css-alternatives-to-javascript/">Pure CSS Alternatives to Javascript &rarr;</a><br /> <a href="http://speckyboy.com/2010/11/08/40-essential-css-templates-resources-and-downloads/">40 Essential CSS Templates, Resources and Downloads &rarr;</a></p><p>Or, you could browse our extensive <a href="http://speckyboy.com/category/css/">CSS Archives &rarr;</a></p> <br /><p><a href='http://rss.buysellads.com/click.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=22328&c=54238504' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=22328&c=54238504' border='0' alt='' /></a></p>
<p><a href="http://feedads.g.doubleclick.net/~a/FkYpifsrD-4bEkvsAGzQQ3cOP_4/0/da"><img src="http://feedads.g.doubleclick.net/~a/FkYpifsrD-4bEkvsAGzQQ3cOP_4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/FkYpifsrD-4bEkvsAGzQQ3cOP_4/1/da"><img src="http://feedads.g.doubleclick.net/~a/FkYpifsrD-4bEkvsAGzQQ3cOP_4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=OhZrG74VKoM:ohK4lFpfOcM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=OhZrG74VKoM:ohK4lFpfOcM:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=OhZrG74VKoM:ohK4lFpfOcM:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=OhZrG74VKoM:ohK4lFpfOcM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=OhZrG74VKoM:ohK4lFpfOcM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=OhZrG74VKoM:ohK4lFpfOcM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=OhZrG74VKoM:ohK4lFpfOcM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=OhZrG74VKoM:ohK4lFpfOcM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=OhZrG74VKoM:ohK4lFpfOcM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=OhZrG74VKoM:ohK4lFpfOcM:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/speckboy-design-magazine/~4/OhZrG74VKoM" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://speckyboy.com/2012/05/15/20-more-css3-tutorials-and-techniques-for-creating-buttons/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://speckyboy.com/2012/05/15/20-more-css3-tutorials-and-techniques-for-creating-buttons/</feedburner:origLink></item> <item><title>Weekly Design News – Resources, Tutorials and Freebies (N.132)</title><link>http://feedproxy.google.com/~r/speckboy-design-magazine/~3/FDqbAXVStJU/</link> <comments>http://speckyboy.com/2012/05/14/weekly-design-news-resources-tutorials-and-freebies-n-132/#comments</comments> <pubDate>Tue, 15 May 2012 07:56:36 +0000</pubDate> <dc:creator>Speckyboy Editors</dc:creator> <category><![CDATA[Weekly News]]></category><guid isPermaLink="false">http://speckyboy.com/?p=23206</guid> <description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23206&c=782886567' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23206&c=782886567' border='0' alt='' /></a></p><br />This is our weekly column were we share our favorite design related articles, resources and cool tidbits from the past week. Enjoy :) If you would like to receive our daily updates and keep up to date with the latest and greatest articles and resources from the design community, you can follow us on Twitter, on Facebookor by subscribing to our RSS feed. Our Weekly Design News has been sponsored by MediaLoot. Check them out for some seriously useful resources [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23206&c=939448759' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23206&c=939448759' border='0' alt='' /></a></p>]]></description> <content:encoded><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23206&c=1219423285' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23206&c=1219423285' border='0' alt='' /></a></p><br /><p>This is our weekly column were we share our favorite design related articles, resources and cool tidbits from the past week. Enjoy :)<br /> If you would like to receive our daily updates and keep up to date with the latest and greatest articles and resources from the design community, you can follow us on <a href="http://twitter.com/speckyboy">Twitter</a>, on <a href="http://www.facebook.com/pages/Speckyboy-Design-Magazine/140568253177">Facebook</a>or by subscribing to our <a href="http://speckyboy.com/feed">RSS feed</a>.<span id="more-23206"></span></p><div class="greybox">Our Weekly Design News has been sponsored by <a href="http://medialoot.com/">MediaLoot</a>. Check them out for some seriously useful resources like icon fonts, UI kits, vectors and themes.</div><h2><a href="http://www.csspop.com/">CSSPop &#8211; The Snippet Community</a></h2><p><a href="http://www.csspop.com/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_01.jpg" alt="CSSPop - The Snippet Community" class="pin-it"  /></a></p><h2><a href="http://www.thetoolbox.cc/">The Toolbox &#8211; A Directory of Useful Single-Page Sites &amp; Apps</a></h2><p><a href="http://www.thetoolbox.cc/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_02.jpg" alt="The Toolbox - A Directory of Useful Single-Page Sites &amp; Apps" class="pin-it"  /></a></p><h2><a href="http://responsiveie6.com/">Responsive IE6 &#8211; Test your site&#39;s responsiveness in IE6</a></h2><p><a href="http://responsiveie6.com/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_03.jpg" alt="Responsive IE6 - Test your site&#39;s responsiveness in IE6" class="pin-it"  /></a></p><h2><a href="http://www.vanseodesign.com/css/block-element-modifier/">BEM: The Block, Element, Modifier Approach To Decoupling HTML And CSS</a></h2><p><a href="http://www.vanseodesign.com/css/block-element-modifier/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_04.jpg" alt="BEM: The Block, Element, Modifier Approach To Decoupling HTML And CSS" class="pin-it"  /></a></p><h2><a href="http://www.netmagazine.com/opinions/separate-mobile-website-no-forking-way">A Separate Mobile Website: No Forking Way</a></h2><p><a href="http://www.netmagazine.com/opinions/separate-mobile-website-no-forking-way"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_05.jpg" alt="A Separate Mobile Website: No Forking Way" class="pin-it"  /></a></p><h2><a href="http://coding.smashingmagazine.com/2012/05/09/building-real-time-commenting-system/">How To Build A Real-Time Commenting System</a></h2><p><a href="http://coding.smashingmagazine.com/2012/05/09/building-real-time-commenting-system/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_06.jpg" alt="How To Build A Real-Time Commenting System" class="pin-it"  /></a></p><h2><a href="http://www.1stwebdesigner.com/css/mastering-css-gradients-in-less-than-1-hour/">Mastering CSS Gradients in Less Than 1 Hour</a></h2><p><a href="http://www.1stwebdesigner.com/css/mastering-css-gradients-in-less-than-1-hour/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_07.jpg" alt="Mastering CSS Gradients in Less Than 1 Hour" class="pin-it"  /></a></p><h2><a href="http://www.developerdrive.com/2012/05/how-to-make-smooth-transitions-with-css3/">How to Make Smooth Transitions with CSS3</a></h2><p><a href="http://www.developerdrive.com/2012/05/how-to-make-smooth-transitions-with-css3/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_08.jpg" alt="How to Make Smooth Transitions with CSS3" class="pin-it"  /></a></p><h2><a href="http://tympanus.net/codrops/2012/05/09/how-to-create-a-fast-hover-slideshow-with-css3/">How to Create a Fast Hover Slideshow with CSS3</a></h2><p><a href="http://tympanus.net/codrops/2012/05/09/how-to-create-a-fast-hover-slideshow-with-css3/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_09.jpg" alt="How to Create a Fast Hover Slideshow with CSS3" class="pin-it"  /></a></p><h2><a href="http://www.impressivewebs.com/fixed-table-of-contents-drop-down-menu-jquery-plugin/">Fixed Table of Contents Drop-Down Menu (jQuery Plugin)</a></h2><p><a href="http://www.impressivewebs.com/fixed-table-of-contents-drop-down-menu-jquery-plugin/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_10.jpg" alt="Fixed Table of Contents Drop-Down Menu (jQuery Plugin)" class="pin-it"  /></a></p><h2><a href="http://designmodo.com/video-player/">How to Create an Video Player in jQuery, HTML5 &amp; CSS3</a></h2><p><a href="http://designmodo.com/video-player/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_11.jpg" alt="How to Create an Video Player in jQuery, HTML5 &amp; CSS3" class="pin-it"  /></a></p><h2><a href="http://www.techrepublic.com/blog/app-builder/a-newbies-guide-to-android-development/1216">A Newbie’s Guide to Android Development</a></h2><p><a href="http://www.techrepublic.com/blog/app-builder/a-newbies-guide-to-android-development/1216"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_12.jpg" alt="A Newbie’s Guide to Android Development" class="pin-it"  /></a></p><h2><a href="http://css-tricks.com/which-responsive-images-solution-should-you-use/">Which Responsive Images Solution Should You Use?</a></h2><p><a href="http://css-tricks.com/which-responsive-images-solution-should-you-use/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_13.jpg" alt="Which Responsive Images Solution Should You Use?" class="pin-it"  /></a></p><h2><a href="http://www.netmagazine.com/tutorials/getting-started-ress">Getting Started With RESS</a></h2><p><a href="http://www.netmagazine.com/tutorials/getting-started-ress"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_14.jpg" alt="Getting started with RESS" class="pin-it"  /></a></p><h2><a href="http://medialoot.com/blog/sketch-2-a-worthy-photoshop-competitor/">Sketch 2: A Worthy Photoshop Competitor?</a></h2><p><a href="http://medialoot.com/blog/sketch-2-a-worthy-photoshop-competitor/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_15.jpg" alt="Sketch 2: A Worthy Photoshop Competitor?" class="pin-it"  /></a></p><h2><a href="http://psd.tutsplus.com/articles/tools/photoshop-drop-shadows/">How to Use Drop Shadows in Photoshop</a></h2><p><a href="http://psd.tutsplus.com/articles/tools/photoshop-drop-shadows/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_16.jpg" alt="How to Use Drop Shadows in Photoshop" class="pin-it"  /></a></p><h2><a href="http://abduzeedo.com/amazing-paper-typography">Amazing Paper Typography</a></h2><p><a href="http://abduzeedo.com/amazing-paper-typography"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_17.jpg" alt="Amazing Paper Typography" class="pin-it"  /></a></p><h2><a href="http://medialoot.com/item/free-vector-map-location-pins/">Free Vector Map Location Pins</a></h2><p><a href="http://medialoot.com/item/free-vector-map-location-pins/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_18.jpg" alt="Free Vector Map Location Pins" class="pin-it"  /></a></p><h2><a href="http://vandelaydesign.com/blog/free-resources/stained-paper-textures/">Free Stained Paper Textures</a></h2><p><a href="http://vandelaydesign.com/blog/free-resources/stained-paper-textures/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_19.jpg" alt="Free Stained Paper Textures" class="pin-it"  /></a></p><h2><a href="http://www.premiumpixels.com/freebies/41-social-media-icons-png/">41 Free Social Media/Networking Icons (PNG)</a></h2><p><a href="http://www.premiumpixels.com/freebies/41-social-media-icons-png/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_20.jpg" alt="41 Free Social Media/Networking Icons (PNG)" class="pin-it"  /></a></p><h2>This Week on CodeVisually</h2><p>Here are our favorite webdev resources from the past week:</p><div class="split-post-left"><h4><a href="http://codevisually.com/3d-it-using-css-3d-to-make-every-website-into-3d/">3D it!</a></h4><p><a href="http://codevisually.com/3d-it-using-css-3d-to-make-every-website-into-3d/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_21.jpg" alt="3D it!" class="pin-it"  /></a></p><h4><a href="http://codevisually.com/codeanywhere-an-online-code-editor/">Codeanywhere</a></h4><p><a href="http://codevisually.com/codeanywhere-an-online-code-editor/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_22.jpg" alt="Codeanywhere" class="pin-it"  /></a></p><h4><a href="http://codevisually.com/tquery-an-extension-system-for-people-to-write-plugins-on-top-of-three-js/">tQuery</a></h4><p><a href="http://codevisually.com/tquery-an-extension-system-for-people-to-write-plugins-on-top-of-three-js/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_23.jpg" alt="tQuery" class="pin-it"  /></a></p><h4><a href="http://codevisually.com/crossfilter-a-javascript-library-for-exploring-large-multivariate-datasets-in-the-browser/">Crossfilter</a></h4><p><a href="http://codevisually.com/crossfilter-a-javascript-library-for-exploring-large-multivariate-datasets-in-the-browser/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_24.jpg" alt="Crossfilter" class="pin-it"  /></a></p><h4><a href="http://codevisually.com/rwd-calculator-a-calculator-to-help-turn-your-psd-into-the-start-of-your-responsive-website/">RWD Calculator</a></h4><p><a href="http://codevisually.com/rwd-calculator-a-calculator-to-help-turn-your-psd-into-the-start-of-your-responsive-website/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_25.jpg" alt="RWD Calculator" class="pin-it"  /></a></div><div class="split-post-right"><h4><a href="http://codevisually.com/foresight-js-request-hi-res-images-according-to-device-pixel-ratio/">Foresight.js</a></h4><p><a href="http://codevisually.com/foresight-js-request-hi-res-images-according-to-device-pixel-ratio/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_26.jpg" alt="Foresight.js" class="pin-it"  /></a></p><h4><a href="http://codevisually.com/ipicture-jquery-plugin-a-jquery-plugin-to-create-interactive-pictures-with-extra-descriptions/">iPicture</a></h4><p><a href="http://codevisually.com/ipicture-jquery-plugin-a-jquery-plugin-to-create-interactive-pictures-with-extra-descriptions/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_27.jpg" alt="iPicture" class="pin-it"  /></a></p><h4><a href="http://codevisually.com/timeline-create-intuitive-timelines-with-ease/">Timeline</a></h4><p><a href="http://codevisually.com/timeline-create-intuitive-timelines-with-ease/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_28.jpg" alt="Timeline" class="pin-it"  /></a></p><h4><a href="http://codevisually.com/jquery-scroll-path-a-plugin-for-defining-custom-scroll-paths/">jQuery Scroll Path</a></h4><p><a href="http://codevisually.com/jquery-scroll-path-a-plugin-for-defining-custom-scroll-paths/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_29.jpg" alt="jQuery Scroll Path" class="pin-it"  /></a></p><h4><a href="http://codevisually.com/responsive-horizontal-layout-with-individually-scrollable-content-panels/">Responsive Horizontal Layout</a></h4><p><a href="http://codevisually.com/responsive-horizontal-layout-with-individually-scrollable-content-panels/"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/newsdesign_30.jpg" alt="Responsive Horizontal Layout" class="pin-it"  /></a></div> <br /><p><a href='http://rss.buysellads.com/click.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23206&c=780577510' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23206&c=780577510' border='0' alt='' /></a></p>
<p><a href="http://feedads.g.doubleclick.net/~a/VOOa5xl0q5rtvjrtjNf7GcFxms8/0/da"><img src="http://feedads.g.doubleclick.net/~a/VOOa5xl0q5rtvjrtjNf7GcFxms8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/VOOa5xl0q5rtvjrtjNf7GcFxms8/1/da"><img src="http://feedads.g.doubleclick.net/~a/VOOa5xl0q5rtvjrtjNf7GcFxms8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=FDqbAXVStJU:jNAm5rXM6IY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=FDqbAXVStJU:jNAm5rXM6IY:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=FDqbAXVStJU:jNAm5rXM6IY:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=FDqbAXVStJU:jNAm5rXM6IY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=FDqbAXVStJU:jNAm5rXM6IY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=FDqbAXVStJU:jNAm5rXM6IY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=FDqbAXVStJU:jNAm5rXM6IY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=FDqbAXVStJU:jNAm5rXM6IY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=FDqbAXVStJU:jNAm5rXM6IY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=FDqbAXVStJU:jNAm5rXM6IY:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/speckboy-design-magazine/~4/FDqbAXVStJU" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://speckyboy.com/2012/05/14/weekly-design-news-resources-tutorials-and-freebies-n-132/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://speckyboy.com/2012/05/14/weekly-design-news-resources-tutorials-and-freebies-n-132/</feedburner:origLink></item> <item><title>Cookie Consent – an Open Source Solution to EU Cookie Law</title><link>http://feedproxy.google.com/~r/speckboy-design-magazine/~3/UBHth2gzXfQ/</link> <comments>http://speckyboy.com/2012/05/14/cookie-consent-an-open-source-solution-to-eu-cookie-law/#comments</comments> <pubDate>Mon, 14 May 2012 14:55:06 +0000</pubDate> <dc:creator>Sufyan bin Uzayr</dc:creator> <category><![CDATA[News]]></category><guid isPermaLink="false">http://speckyboy.com/?p=23470</guid> <description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23470&c=1297192892' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23470&c=1297192892' border='0' alt='' /></a></p><br />Few weeks ago, we covered the European Union&#8217;s Cookie Law, and its implications on websites based in Europe. Thereafter, we have also covered the reactions to the said law. In fact, as a UK-based site, Speckyboy itself firmly stands in support of such protests against the Cookie Law. Speaking of protests, Silktide, one of the most prominent critics of the Cookie Law and the brains behind concepts such as No Cookie Law and the popular YouTube video The Cookie Law [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23470&c=847385843' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23470&c=847385843' border='0' alt='' /></a></p>]]></description> <content:encoded><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23470&c=522871370' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23470&c=522871370' border='0' alt='' /></a></p><br /><p>Few weeks ago, we covered the European Union&#8217;s <a href="http://speckyboy.com/2012/04/19/the-eu-cookie-law/">Cookie Law</a>, and its implications on websites based in Europe. Thereafter, we have also covered the <a href="http://speckyboy.com/2012/04/27/no-to-the-cookie-law/">reactions to the said law</a>. In fact, as a UK-based site, Speckyboy itself firmly stands in support of such protests against the Cookie Law.</p><p>Speaking of protests, Silktide, one of the most prominent critics of the Cookie Law and the brains behind concepts such as <a target="_blank" href="http://nocookielaw.com/">No Cookie Law</a> and the popular YouTube video <a target="_blank" href="http://www.youtube.com/watch?v=9hLmX9FX2KA">The Cookie Law in Under Three Minutes</a>, has come up with a free open-source solution to the EU Cookie Law, named <a target="_blank" href="http://silktide.com/cookieconsent">Cookie Consent</a>.</p><p><a href="http://silktide.com/cookieconsent" target="_blank" ><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/cookieconsent_01.jpg" width="640" alt="Cookie Consent Homepage" height="267"/></a></p><p>In simplest terms, <strong>Cookie Consent</strong> is a Javascript plugin created specifically for websites that are required to comply with the Cookie Law. Once installed on your website, the plugin will show your users a drop down message, asking them whether or not they&#8217;d like to allow cookies or not. Neat, eh?</p><p><a href="http://silktide.com/cookieconsent" target="_blank"><img src="http://speckycdn.sdm.netdna-cdn.com/wp-content/uploads/2012/05/cookieconsent_02.jpg" width="640" alt="Cookie Consent Privacy Settings" height="267"/></a></p><p>Apart from setting preferences for your own website, users can also set Global Preferences, which means they can enable or disable plugins for all websites in one go! As the webmaster, you can specify whether the drop down occurs from the top or the bottom of your site, and you can use custom CSS to customise its look and feel. And just in case that doesn&#8217;t make you happy, Cookie Consent is licensed under GNU GPL, so you can redistribute and modify it, if so needed.</p><h4>Useful URLs</h4><p><a href="http://silktide.com/cookieconsent" target="_blank">Cookie Consent Homepage &rarr;</a><br /> <a href="http://silktide.com/cookieconsent/documentation/how-does-it-work" target="_blank">Cookie Consent Documentation &rarr;</a></p><p><strong>Over to you</strong>: what do you think of Cookie Consent and the underlying logic? Will you be using it on your website? Do share your thoughts with us in the comments.</p> <br /><p><a href='http://rss.buysellads.com/click.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23470&c=2127132395' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23470&c=2127132395' border='0' alt='' /></a></p>
<p><a href="http://feedads.g.doubleclick.net/~a/sfH4IkQhNEyBnLdUUMpnwyeZ_Ng/0/da"><img src="http://feedads.g.doubleclick.net/~a/sfH4IkQhNEyBnLdUUMpnwyeZ_Ng/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/sfH4IkQhNEyBnLdUUMpnwyeZ_Ng/1/da"><img src="http://feedads.g.doubleclick.net/~a/sfH4IkQhNEyBnLdUUMpnwyeZ_Ng/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=UBHth2gzXfQ:HkQdaaX_gzY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=UBHth2gzXfQ:HkQdaaX_gzY:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=UBHth2gzXfQ:HkQdaaX_gzY:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=UBHth2gzXfQ:HkQdaaX_gzY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=UBHth2gzXfQ:HkQdaaX_gzY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=UBHth2gzXfQ:HkQdaaX_gzY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=UBHth2gzXfQ:HkQdaaX_gzY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=UBHth2gzXfQ:HkQdaaX_gzY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=UBHth2gzXfQ:HkQdaaX_gzY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=UBHth2gzXfQ:HkQdaaX_gzY:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/speckboy-design-magazine/~4/UBHth2gzXfQ" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://speckyboy.com/2012/05/14/cookie-consent-an-open-source-solution-to-eu-cookie-law/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://speckyboy.com/2012/05/14/cookie-consent-an-open-source-solution-to-eu-cookie-law/</feedburner:origLink></item> <item><title>Six Common Web Programming Mistakes and How to Avoid Them</title><link>http://feedproxy.google.com/~r/speckboy-design-magazine/~3/BIIJlvMmaiY/</link> <comments>http://speckyboy.com/2012/05/13/six-common-web-programming-mistakes-and-how-to-avoid-them/#comments</comments> <pubDate>Mon, 14 May 2012 07:35:25 +0000</pubDate> <dc:creator>Keith Bryant</dc:creator> <category><![CDATA[Web Design]]></category><guid isPermaLink="false">http://speckyboy.com/?p=23074</guid> <description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23074&c=2032816415' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23074&c=2032816415' border='0' alt='' /></a></p><br />The ubiquity of technology in our daily lives has made programming an indispensable DIY skill for the digital age. The &#8216;learn to code&#8216; movement, kick started by the easy availability of free interactive coding lessons on platforms such as Codecademy, combined with the inevitable shift of talent towards entrepreneurship in a depressed job market, has introduced thousands of people to programming. Programming is difficult. Even the simplest of coding languages have steep learning curves. Add to that the imperative task [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23074&c=987854886' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23074&c=987854886' border='0' alt='' /></a></p>]]></description> <content:encoded><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23074&c=1001343183' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259958&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23074&c=1001343183' border='0' alt='' /></a></p><br /><p>The ubiquity of technology in our daily lives has made programming an indispensable DIY skill for the digital age. The &#8216;<a href="http://www.codeyear.com/" target="_blank">learn to code</a>&#8216; movement, kick started by the easy availability of free interactive coding lessons on platforms such as Codecademy, combined with the inevitable shift of talent towards entrepreneurship in a depressed job market, has introduced thousands of people to programming.</p><p>Programming is difficult. Even the simplest of coding languages have steep learning curves. Add to that the imperative task of fixing security loopholes, and you have the perfect recipe for a concoction that can intimidate all but the most resolute of new converts to this field.</p><p>Most new programmers (and many old hands as well) are guilty of a committing a bevy of programming mistakes, some of which can be virtual suicide for a promising app or software program. The six most common programming mistakes are:</p><h2>1. Not Validating Input</h2><p>A numeric input field should get a numeric, not alphabetical input. A field that checks the price of a new car shouldn&#8217;t accept a dollar sign and other special characters. Validating the input is one of the fundamental rules of programming; breaking it can often lead to patchy performance and a host of easily exploitable vulnerabilities. Not only can hackers gain control over an app by carefully modifying the input, but incorrectly validated input also disrupts the data flow of a program.</p><p><strong>How to avoid it:</strong></p><p>Begin by using an input validation framework such as OWASP ESAPI Validation API (available for many languages). Maintain a strict policy of assuming all input as potentially malicious until further verification. Carefully examine all potential sources of vulnerabilities – filenames, databases, cookies, etc. – fixing each along the way. You can never really be too obsessed with security; using an input validation framework, and careful cross-checking of the code are only a few precautions to prevent a security mishap.</p><h2>2. Cross-Site Scripting (or, Failure to Neutralize User Input)</h2><p>Another common programming mistake is a failure to neutralize user-input before using it to generate output on a dynamically generated web page. Suppose a web-page requires input from a user (such as a comment field) before redirecting him to a dynamically created web page that incorporates that data. If the programmer fails to neutralize the user&#8217;s input, a hacker can insert malicious code into the input field, which can subsequently lead to inclusion of malicious, browser executable content (JavaScript, Flash, etc.) in the page.</p><p><strong>How to avoid it:</strong></p><p>Cross-site scripting usually occurs when users are allowed to submit unregulated content to be consumed by other users of a website. It is most common in sites that allow user-generated content such as comments for forum posts. This exploit has been prevalent since the beginning of the internet when &#8216;guestbooks&#8217; were a common feature on most sites.</p><p>To prevent this from occurring, consider using a vetted framework that makes it easier to generate neutralized output, such as the Microsoft Anti-XSS library or the OWASP ESAPI Encoding Module. Further, carefully examine your code and understand the relationship between various components, neutralizing and escaping any user-generated content before outputting it to a web page. This <a href="https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet" target="_blank">cross-site scripting prevention cheat-sheet</a> is a good resource as any to learn more about this exploit.</p><h2>3. SQL Injection (or, A Major Failure to Neutralize User Input)</h2><p>The previous mistake only affects other visitors to your site; but failure to neutralize user input before using it for database interaction is the even nastier version of this problem – it can take your entire site down and wipe out precious data. This should actually be the number one problem, because it causes more serious problems and dangerous security breaches than probably any other mistake. Mess up on this one, and your entire server could be taken over by a hacker.</p><p><strong>How to avoid it:</strong></p><p>To learn more about the technical details of SQL injection attacks, read this article on <a href="http://en.wikipedia.org/wiki/SQL_injection" target="_blank">SQL Injection</a>. The solution is actually rather simple: always, always escape all user input before using it in a database query. Most programming languages have built-in functions to clean user input before use in database queries. (For example, <code>mysql_real_escape_string</code> in PHP.)</p><h2>4. Poor Formatting and Improper Comments</h2><p>By its very nature, programming is a collaborative effort. This means that code generated by one programmer may be accessed and modified by other programmers days, months, and even years down the line. A failure to format the code and provide effective comments detailing each function makes code unmanageable and difficult to maintain.</p><p><strong>How to avoid it:</strong></p><p>Each programming language has its own entrenched &#8216;grammar&#8217; and style guidelines. When in doubt, refer to them to gather insight on how to effectively comment and format code. Regardless, develop a habit of inserting appropriate white-space and starting each new function with a comment detailing its use and scope. Practice brevity; comments need to be concise and to the point, not overly wordy. A couple of well-written comments can go a long way in making code easier to read and interpret. Also, be careful to break up code by the specific task it performs; avoid run-on code, just like run-on sentences.</p><h2>5. Improper User Authorization</h2><p>Controlling what logged-in users can and cannot do is crucial to ensuring application security and stability. Inadvertently allowing users access to forbidden areas is a mistake new and old programmers alike are sometimes guilty of. Most recently, the ICANN allowed applicants to its new gTLD program to view other applicants&#8217; private information in a major security gaffe, proving not only the pervasiveness of this programming error, but also its injurious consequences.</p><p><strong>How to avoid it:</strong></p><p>Each application should be divided into limited (normal), privileged, and administrative areas, and given rights and control accordingly. Most logged-in users must be granted limited additional rights, and only a few trusted parties must be given administrative control. Use of role-based access control (RBAC) is also highly recommended.</p><p>It is also recommended that you use a vetted library (such as the JAAS Authorization Framework for Java) to make this weakness easier to avoid.</p><h2>6. Using Hard-Coded Passwords</h2><p>This is one of the most prevalent programming mistakes, simply because of its convenience. Using a secret hard-coded password for authentication across all the components of a software program makes modifying the code very easy, but also makes the software vulnerable to security breaches. If an enterprising hacker gains access to this password, not only will the security breach be nearly impossible to detect, but also difficult to fix, putting your entire product at risk.</p><p><strong>How to avoid it:</strong></p><p>Every software program utilizes either of the two authentication methods: outbound (i.e. connecting to an external database or file to verify authentication), and inbound (the authentication mechanism is built into the software itself). For outbound authentication, it is best to save all relevant login data in a strongly encrypted database or protected file. No outside user should be granted access to this information.</p><p>For inbound authentication, the security vulnerabilities of a hard-coded password can be circumvented by requiring all users to enter a unique, strong password upon first registration. These user-specific passwords should be &#8220;salted&#8221; (the process of adding a special secret string to the actual password), then hashed using a one-way hashing algorithm before storage. Passwords should never be stored in plaintext.</p><p>In conjunction with access control checks, the elimination of hard-coded passwords can significantly improve the security of your program.</p><h2>You may also like&#8230;</h2><p><a href="http://speckyboy.com/2012/02/22/good-old-static-html-sites-arent-dead-yet-should-they-be/">Good Old Static HTML Sites Aren&#8217;t Dead Yet. Should They Be? &rarr;</a><br /> <a href="http://speckyboy.com/2012/02/03/should-you-keep-your-website-open-source/">Should You Keep Your Website Open Source? &rarr;</a><br /> <a href="http://speckyboy.com/2011/11/27/should-designers-know-how-to-code-what-do-you-think/">Should Designers know how to code? What do you think? &rarr;</a><br /> <a href="http://speckyboy.com/2011/12/09/is-a-design-house-style-really-necessary/">Is a Design House-Style Really Necessary? &rarr;</a><br /> <a href="http://speckyboy.com/2011/08/03/repeat-work-and-the-search-for-the-holy-grail/">Repeat Work and the Search For The Holy Grail &rarr;</a><br /> <a href="http://speckyboy.com/2011/03/28/tthoughts-and-considerations-for-freelancing-on-a-part-time-basis/">Thoughts and Considerations for Freelancing on a Part-Time Basis &rarr;</a><br /> <a href="http://speckyboy.com/2010/12/02/is-working-freelance-really-worth-it-pros-and-cons/">Is Working Freelance Really Worth It? Pros and Cons &rarr;</a></p> <br /><p><a href='http://rss.buysellads.com/click.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23074&c=774078922' target='_blank' rel='nofollow'> <img src='http://rss.buysellads.com/img.php?z=1259961&k=53ef29bf69caaf7b9711bf01cd3ee13b&a=23074&c=774078922' border='0' alt='' /></a></p>
<p><a href="http://feedads.g.doubleclick.net/~a/wjeGOuMXXf1HGYNBFkkwj4SQc4Q/0/da"><img src="http://feedads.g.doubleclick.net/~a/wjeGOuMXXf1HGYNBFkkwj4SQc4Q/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/wjeGOuMXXf1HGYNBFkkwj4SQc4Q/1/da"><img src="http://feedads.g.doubleclick.net/~a/wjeGOuMXXf1HGYNBFkkwj4SQc4Q/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=BIIJlvMmaiY:RfKx517t1UA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=BIIJlvMmaiY:RfKx517t1UA:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=BIIJlvMmaiY:RfKx517t1UA:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=BIIJlvMmaiY:RfKx517t1UA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=BIIJlvMmaiY:RfKx517t1UA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=BIIJlvMmaiY:RfKx517t1UA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=BIIJlvMmaiY:RfKx517t1UA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=BIIJlvMmaiY:RfKx517t1UA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/speckboy-design-magazine?a=BIIJlvMmaiY:RfKx517t1UA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/speckboy-design-magazine?i=BIIJlvMmaiY:RfKx517t1UA:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/speckboy-design-magazine/~4/BIIJlvMmaiY" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://speckyboy.com/2012/05/13/six-common-web-programming-mistakes-and-how-to-avoid-them/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://speckyboy.com/2012/05/13/six-common-web-programming-mistakes-and-how-to-avoid-them/</feedburner:origLink></item> </channel> </rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Database Caching using disk: basic
Object Caching 641/657 objects using disk: basic
Content Delivery Network via speckycdn.sdm.netdna-cdn.com

Served from: speckyboy.com @ 2012-05-15 23:29:39 -->

