<?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>BrianBehrend.com</title>
	<atom:link href="http://www.brianbehrend.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brianbehrend.com</link>
	<description>Tech. Games. Design.</description>
	<lastBuildDate>Fri, 01 Feb 2013 17:57:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Great looking Google Maps-driven bakery site</title>
		<link>http://www.brianbehrend.com/2012/12/great-looking-google-maps-driven-bakery-site-2/</link>
		<comments>http://www.brianbehrend.com/2012/12/great-looking-google-maps-driven-bakery-site-2/#comments</comments>
		<pubDate>Fri, 14 Dec 2012 04:12:57 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[illustration]]></category>
		<category><![CDATA[inspiration]]></category>

		<guid isPermaLink="false">http://www.brianbehrend.com/?p=620</guid>
		<description><![CDATA[jacquico.com was making the Twitter rounds today. Give it several minutes to load but its an extremely interesting idea. Not sure I&#8217;ve seen a site powered by Google Maps before. Cute illustration and animations too.]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.jacquico.com/">jacquico.com</a> was making the Twitter rounds today. Give it <em>several</em> minutes to load but its an extremely interesting idea. Not sure I&#8217;ve seen a site powered by Google Maps before. Cute illustration and animations too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brianbehrend.com/2012/12/great-looking-google-maps-driven-bakery-site-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The worst free throw ever</title>
		<link>http://www.brianbehrend.com/2012/12/the-worst-free-throw-ever/</link>
		<comments>http://www.brianbehrend.com/2012/12/the-worst-free-throw-ever/#comments</comments>
		<pubDate>Mon, 10 Dec 2012 04:00:43 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Sports]]></category>
		<category><![CDATA[basketball]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.brianbehrend.com/?p=609</guid>
		<description><![CDATA[Yikes. How is that even possible. The announcers&#8217; reaction is pretty classic too. &#8220;Good lord!&#8221;]]></description>
				<content:encoded><![CDATA[<p><iframe width="640" height="480" src="http://www.youtube.com/embed/x-MW5tkTWtQ" frameborder="0" allowfullscreen></iframe></p>
<p>Yikes. How is that even possible. The announcers&#8217; reaction is pretty classic too. &#8220;Good lord!&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brianbehrend.com/2012/12/the-worst-free-throw-ever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gamify your tip jar</title>
		<link>http://www.brianbehrend.com/2012/12/gamify-your-tip-jar/</link>
		<comments>http://www.brianbehrend.com/2012/12/gamify-your-tip-jar/#comments</comments>
		<pubDate>Sun, 02 Dec 2012 03:56:46 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[freebirds]]></category>
		<category><![CDATA[gamification]]></category>

		<guid isPermaLink="false">http://www.brianbehrend.com/?p=604</guid>
		<description><![CDATA[Instagram photo from JeremyJohnson at Freebirds]]></description>
				<content:encoded><![CDATA[<p><img src="http://distilleryimage9.s3.amazonaws.com/cf93d02432a011e2b55612313804a1b1_7.jpg" alt="Gamify your tip jar" /></p>
<p>Instagram photo from <a href="http://instagram.com/jeremyjohnson">JeremyJohnson</a> at Freebirds</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brianbehrend.com/2012/12/gamify-your-tip-jar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Planet Money on Facebook Advertising</title>
		<link>http://www.brianbehrend.com/2012/06/planet-money-on-facebook-advertising/</link>
		<comments>http://www.brianbehrend.com/2012/06/planet-money-on-facebook-advertising/#comments</comments>
		<pubDate>Sun, 03 Jun 2012 03:00:32 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[npr]]></category>
		<category><![CDATA[podcast]]></category>

		<guid isPermaLink="false">http://www.brianbehrend.com/?p=582</guid>
		<description><![CDATA[NPR&#8217;s Planet Money podcast covers Facebook from a couple interesting sides. First an interesting story of a New Orleans pizza place wanting to do some Facebook advertising and then the second half of the show features a despicable company that sells likes to companies who have no clue why one is valuable.]]></description>
				<content:encoded><![CDATA[<p>NPR&#8217;s Planet Money podcast <a href="http://www.npr.org/blogs/money/2012/05/22/153300390/facebook-now-what">covers Facebook</a> from a couple interesting sides. First an interesting story of a New Orleans pizza place wanting to do some Facebook advertising and then the second half of the show features a despicable company that sells likes to companies who have no clue why one is valuable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brianbehrend.com/2012/06/planet-money-on-facebook-advertising/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>background-size property overwritten by background shorthand by Firefox</title>
		<link>http://www.brianbehrend.com/2012/04/background-size-property-overwritten-by-background-shorthand-by-firefox/</link>
		<comments>http://www.brianbehrend.com/2012/04/background-size-property-overwritten-by-background-shorthand-by-firefox/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 12:12:50 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[background-size]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[retina]]></category>

		<guid isPermaLink="false">http://www.brianbehrend.com/?p=550</guid>
		<description><![CDATA[As I start to use new CSS3 properties more often new issues are arising that I didn&#8217;t have to deal with before. Building out a new responsive site now that is using retina images for the mobile site so I&#8217;m using the background-size property extensively. I ran into a bug in Firefox 11 where in [...]]]></description>
				<content:encoded><![CDATA[<p>As I start to use new CSS3 properties more often new issues are arising that I didn&#8217;t have to deal with before. Building out a new responsive site now that is using retina images for the mobile site so I&#8217;m using the <code>background-size</code> property extensively. I ran into a bug in Firefox 11 where in some situations the property was ignored.</p>
<p>Here&#8217;s an example of the code that did not work in Firefox:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>112
113
114
115
116
117
118
119
120
121
122
123
124
125
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.author</span><span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span>
	background-size<span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-32px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.author-brian</span> <span style="color: #6666ff;">.author</span><span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">/img/avatar-brian.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #000000; font-weight: bold;">top</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Turns out, using the <code>background</code> shorthand was overwriting the size. Adding the <code>background-size</code> property to the more specific author declaration fixed the issue.</p>
<p>It looks like this is actually correct behavior according to the spec. Using the shorthand overwrites <strong>all</strong> other background properties. From the Standarista site&#8217;s notes on <a href="http://www.standardista.com/css3/css3-background-properties/#bg6">CSS3 <code>background</code> properties</a>:</p>
<blockquote>
<p>If you use the background shorthand and fail to declare any of the individual properties that make up the shorthand, those properties will revert to their default values [...].</p>
</blockquote>
<p>I thought it was time to learn the more detailed background shorthand that includes the new properties like <code>background-size</code> and <code>background-clip</code>. However, the W3C&#8217;s spec for it isn&#8217;t actually supported by seemingly any browsers yet. Here&#8217;s what the new shorthand declaration of the code <em>should</em> be:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>123
124
125
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.author-brian</span> <span style="color: #6666ff;">.author</span><span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">/img/avatar-brian.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #000000; font-weight: bold;">top</span> / <span style="color: #933;">30px</span> <span style="color: #933;">30px</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Unfortunately, that valid line of CSS breaks in every browser I tried it on and results in the image not displaying at all. I ended up needing to  define the <code>background-size</code> property separately <em>after</em> the shorthand declaration:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>123
124
125
126
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.author-brian</span> <span style="color: #6666ff;">.author</span><span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">/img/avatar-brian.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #000000; font-weight: bold;">top</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
	background-size<span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>The actual code will vary depending on what you&#8217;re doing but the important thing is to not forget to include the other background properties even if you&#8217;re not specifying them in your shorthand.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brianbehrend.com/2012/04/background-size-property-overwritten-by-background-shorthand-by-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pictures of People Scanning QR Codes</title>
		<link>http://www.brianbehrend.com/2012/03/pictures-of-people-scanning-qr-codes/</link>
		<comments>http://www.brianbehrend.com/2012/03/pictures-of-people-scanning-qr-codes/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 12:50:39 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[qr codes]]></category>
		<category><![CDATA[tumblr]]></category>

		<guid isPermaLink="false">http://www.brianbehrend.com/?p=560</guid>
		<description><![CDATA[Great tumblr blog showing all the people who actually scan QR codes in public.]]></description>
				<content:encoded><![CDATA[<p><a href="http://picturesofpeoplescanningqrcodes.tumblr.com/">Great tumblr blog</a> showing all the people who actually scan QR codes in public.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brianbehrend.com/2012/03/pictures-of-people-scanning-qr-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Measuring Android Version Fragmentation</title>
		<link>http://www.brianbehrend.com/2012/02/measuring-android-version-fragmentation/</link>
		<comments>http://www.brianbehrend.com/2012/02/measuring-android-version-fragmentation/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 13:08:48 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[stats]]></category>

		<guid isPermaLink="false">http://www.brianbehrend.com/?p=563</guid>
		<description><![CDATA[My thoughts and some graphs on how bad of a problem Android&#8217;s fragmentation is for developers and users.]]></description>
				<content:encoded><![CDATA[<p>My thoughts and some graphs on how bad of a problem <a href="http://blog.marketnet.com/index.php/2012/02/27/measuring-android-version-fragmentation/">Android&#8217;s fragmentation</a> is for developers and users.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brianbehrend.com/2012/02/measuring-android-version-fragmentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Fix for the iOS Orientation Change Zoom Bug</title>
		<link>http://www.brianbehrend.com/2012/01/a-fix-for-the-ios-orientation-change-zoom-bug/</link>
		<comments>http://www.brianbehrend.com/2012/01/a-fix-for-the-ios-orientation-change-zoom-bug/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 13:16:50 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://www.brianbehrend.com/?p=568</guid>
		<description><![CDATA[Code from the guys at the Filament Group that fixes that annoying bug where iOS incorrectly zooms your site when you flip from landscape to portrait and vice versa.]]></description>
				<content:encoded><![CDATA[<p><a href="http://filamentgroup.com/lab/a_fix_for_the_ios_orientationchange_zoom_bug/">Code</a> from the guys at the Filament Group that fixes that annoying bug where iOS incorrectly zooms your site when you flip from landscape to portrait and vice versa.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brianbehrend.com/2012/01/a-fix-for-the-ios-orientation-change-zoom-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Look what I&#8217;ve got!</title>
		<link>http://www.brianbehrend.com/2011/12/look-what-ive-got/</link>
		<comments>http://www.brianbehrend.com/2011/12/look-what-ive-got/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 13:44:27 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[baby]]></category>
		<category><![CDATA[Family]]></category>

		<guid isPermaLink="false">http://www.brianbehrend.com/?p=574</guid>
		<description><![CDATA[Moments after she came out of mommy here&#8217;s me and the new Baby E. Everyone is happy and healthy.]]></description>
				<content:encoded><![CDATA[<p>Moments after she came out of mommy here&#8217;s me and the new Baby E. Everyone is happy and healthy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brianbehrend.com/2011/12/look-what-ive-got/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Color Thief</title>
		<link>http://www.brianbehrend.com/2011/11/color-thief/</link>
		<comments>http://www.brianbehrend.com/2011/11/color-thief/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 13:27:06 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://www.brianbehrend.com/?p=571</guid>
		<description><![CDATA[From the creator of the original javascript lightbox comes Color Thief, a jQuery plugin that analyzes the colors in a given image and returns the dominant color and the color palette. Has some incredible usage possibilites both from from a design angle and also in improving usability. Definitely looking for an excuse to use this [...]]]></description>
				<content:encoded><![CDATA[<p>From the creator of the <strong>original</strong> javascript lightbox comes <a href="http://lokeshdhakar.com/projects/color-thief/">Color Thief</a>, a jQuery plugin that analyzes the colors in a given image and returns the dominant color and the color palette. Has some incredible usage possibilites both from from a design angle and also in improving usability. Definitely looking for an excuse to use this on a project.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brianbehrend.com/2011/11/color-thief/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
