<?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>Trent Walton &#187; CSS3</title>
	<atom:link href="http://trentwalton.com/tag/css3/feed/" rel="self" type="application/rss+xml" />
	<link>http://trentwalton.com</link>
	<description>Trent Walton&#039;s Web Site</description>
	<lastBuildDate>Fri, 03 Feb 2012 19:55:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>New Adventures 2012</title>
		<link>http://trentwalton.com/2012/01/27/new-adventures-2012/</link>
		<comments>http://trentwalton.com/2012/01/27/new-adventures-2012/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 16:06:49 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[FitText]]></category>
		<category><![CDATA[Lettering.js]]></category>
		<category><![CDATA[Speaking]]></category>

		<guid isPermaLink="false">http://trentwalton.com/?p=5087</guid>
		<description><![CDATA[I’ll never look at my 1 year old’s car seat the same way again. My wife and I lugged it (along with suitcases, diaper bags, and of course the kid himself) from airport terminal, to cab, to train station, to our hotel in Nottingham to be at New Adventures Conference this year. But without a doubt, those hours of travel were more than worth it. It’s amazing how... <a href="http://trentwalton.com/2012/01/27/new-adventures-2012/">Read more &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>I’ll never look at my 1 year old’s car seat the same way again. My <a href="https://twitter.com/#!/@bonniewalton">wife</a> and I lugged it (along with suitcases, diaper bags, and of course the kid himself) from airport terminal, to cab, to train station, to our hotel in Nottingham to be at <a href="http://2012.newadventuresconf.com/">New Adventures Conference</a> this year. But without a doubt, those hours of travel were more than worth it. It’s amazing how irritability and exhaustion fade away when you find yourself surrounded by people who do what you do, who love what you love. New Adventures Conference was many things for me, but most of all I found it nourishing.</p>
<p><a href="http://ricknunn.com/new-adventures-in-web-design-2012"><img src="http://farm8.staticflickr.com/7020/6742217413_5a4369a76e_b.jpg"/></a></p>
<p>It’s what happens when conference organizers look beyond logistics and put love into every component. <a href="https://twitter.com/#!/colly">Simon</a> &amp; <a href="https://twitter.com/#!/gregwood">Greg’s</a> careful consideration &amp; ordering of speaker topics combined with their overwhelming hospitality set a great tone that seemed to be amplified by all who partook in the week’s activities. On a personal note, I loved introducing my wife and son to industry comrades and dear friends. Seeing little Henry passed around Simon’s house was pure magic. So was watching him flirt with <a href="https://twitter.com/#!/aymiespitzer/">Aymie</a>, <a href="https://twitter.com/#!/denisejacobs">Denise</a>, and <a href="https://twitter.com/#!/naomisusi">Naomi</a>. I’ll be sure to have a sit-down with him about not laying it on too thick one of these days.</p>
<p>Along with speaking, I had the privilege of guiding a workshop. We looked into the basics of setting type (responsively), some of my favorite CSS properties for type, and of course <a href="http://letteringjs.com/">Lettering.js</a> and <a href="http://fittextjs.com/">FitText</a>. During the last hour of the workshop, participants were let loose to build their own stuff. I provided a handful of screenshots from <a href="http://annyas.com/screenshots/">The Movie Title Stills Collection</a>, curated lovingly by <a href="https://twitter.com/%23!/ChristianAnnyas">Christian Annyas</a>, and challenged everyone to recreate them with HTML, CSS, and Lettering.js. I was amazed to see what people came up with. Here are some samples of their work. I’ll be updating this post as more come in. Also, I’ll post links to video &amp; slides from my talk as they make their way online.</p>
<div class="row clearfix">
<div class="grid_4 alpha"><a href="http://cl.ly/323L2p0R1W09262c3J3W"><img class="text-image" src="/wp-content/uploads/2012/01/carson.jpg" alt="Controlling Web Typography Workshop"/></a>By <a href="https://twitter.com/#!/matthamm/status/161961756745404416">@supereight</a></div>
<div class="grid_4 omega"><a href="http://pixelated.ie/sandbox/index2.html"><img class="text-image" src="/wp-content/uploads/2012/01/310.jpg" alt="Controlling Web Typography Workshop"/></a>By <a href="https://twitter.com/#!/mickykelleher">@mickykelleher</a></div>
</div>
<div class="row clearfix">
<div class="grid_4 alpha"><a href="http://pixelcreation.co.uk/Anatomy/view/"><img class="text-image" src="/wp-content/uploads/2012/01/aom.jpg" alt="Controlling Web Typography Workshop"/></a>By <a href="https://twitter.com/#!/richardwiggins/status/162094354381549568">@richardwiggins</a></div>
<div class="grid_4 omega"><a href="http://gvd.mn/DcwR"><img class="text-image" src="/wp-content/uploads/2012/01/toystory.jpg" alt="Controlling Web Typography Workshop"/></a>By <a href="https://twitter.com/#!/drbparsons/status/162126185353060352">@drbparsons</a></div>
</div>
<div class="row clearfix">
<div class="grid_4 alpha"><a href="http://www.jokedewinter.co.uk/new-adventures-in-web-design/"><img class="text-image" src="/wp-content/uploads/2012/01/friday13.jpg" alt="Controlling Web Typography Workshop"/></a>By <a href="https://twitter.com/#!/jokedewinter/status/161936937735823361">@jokedewinter</a></div>
<div class="grid_4 omega"><a href="http://www.flickr.com/photos/dr_charles/6719995611/"><img class="text-image" src="/wp-content/uploads/2012/01/armoredcar.jpg" alt="Controlling Web Typography Workshop"/></a>By <a href="https://twitter.com/#!/MaraidDesign/status/161936467231383552">@MaraidDesign</a></div>
</div>
<div class="row clearfix">
<div class="grid_4 alpha"><a href="http://swwweet.com/sandbox/ghostbusters/"><img class="text-image" src="/wp-content/uploads/2012/01/ghostbusters.jpg" alt="Controlling Web Typography Workshop"/></a>By <a href="https://twitter.com/#!/martuishere/status/162104018666127360">@martuishere</a></div>
<div class="grid_4 omega"><a href="http://swwweet.com/sandbox/Veronika/"><img class="text-image" src="/wp-content/uploads/2012/01/dsd.jpg" alt="Controlling Web Typography Workshop"/></a>By <a href="https://twitter.com/#!/martuishere/status/162104018666127360">@martuishere</a></div>
</div>
<div class="row clearfix">
<div class="grid_4 alpha"><a href="http://sand.lewisnyman.co.uk/anatomy-of-a-murder/"><img class="text-image" src="/wp-content/uploads/2012/01/aom2.jpg" alt="Controlling Web Typography Workshop"/></a>By <a href="https://twitter.com/#!/lewisnyman/status/162953218198999040">@lewisnyman</a></div>
<div class="grid_4 omega"><a href="http://jameslindeman.co.uk/lettering-fittext-experiment/"><img class="text-image" src="/wp-content/uploads/2012/01/catchme.jpg" alt="Controlling Web Typography Workshop"/></a>By <a href="https://twitter.com/#!/jameslindeman">@jameslindeman</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://trentwalton.com/2012/01/27/new-adventures-2012/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New Adventures Workshop</title>
		<link>http://trentwalton.com/2012/01/06/new-adventures-workshop/</link>
		<comments>http://trentwalton.com/2012/01/06/new-adventures-workshop/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 16:52:41 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[FitText]]></category>
		<category><![CDATA[Lettering.js]]></category>
		<category><![CDATA[Responsive]]></category>
		<category><![CDATA[Typography]]></category>
		<category><![CDATA[Web Fonts]]></category>

		<guid isPermaLink="false">http://trentwalton.com/?p=5015</guid>
		<description><![CDATA[The time for New Adventures is nearly upon us! I’ve been building slides for my talk as well as prepping materials for my workshop on controlling web typography. The plan is to spend some time exploring the finer points of using web fonts and setting type on the web, then experiment with newer CSS properties and Lettering.js. Throughout the workshop, we’ll discuss fluid content and responsive web design... <a href="http://trentwalton.com/2012/01/06/new-adventures-workshop/">Read more &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>The time for <a href="http://2012.newadventuresconf.com">New Adventures</a> is nearly upon us! I’ve been building slides for my talk as well as prepping materials for my <a href="http://2012.newadventuresconf.com/workshops/">workshop on controlling web typography</a>. The plan is to spend some time exploring the finer points of using web fonts and setting type on the web, then experiment with newer CSS properties and <a href="http://letteringjs.com">Lettering.js</a>. Throughout the workshop, we’ll discuss fluid content and responsive web design as it applies to our typographic explorations, which I’m particularly chuffed about. Chuffed? Did I use that word correctly?</p>
<p><img src="/wp-content/uploads/2012/01/cwt.jpg" alt="controlling web typography"/></p>
<p>For those planning to attend, please feel free to comment below with anything in particular you’d like to cover. There’ll be plenty of resources at your disposal as well as time for discussion and collaboration. <strong>Also, please bring your computer</strong> and be ready to do some light coding. See you in just over a week!</p>
]]></content:encoded>
			<wfw:commentRss>http://trentwalton.com/2012/01/06/new-adventures-workshop/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Things Still Missing From CSS</title>
		<link>http://trentwalton.com/2012/01/05/things-still-missing-from-css/</link>
		<comments>http://trentwalton.com/2012/01/05/things-still-missing-from-css/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 16:21:13 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Lettering.js]]></category>
		<category><![CDATA[Netmag]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Typography]]></category>
		<category><![CDATA[Web Fonts]]></category>

		<guid isPermaLink="false">http://trentwalton.com/?p=4989</guid>
		<description><![CDATA[Molly Holzschlag wrote a great article for .Net Magazine outlining seven things still missing from CSS. She gets into web fonts on #5, which is my favorite. I particularly liked this point: Fine control remains elusive – kerning, character spacing – controlling these aspects are both difficult to specify for numerous reasons. This is frustrating to designers who love typography and want to have that finer control. Huzzah!... <a href="http://trentwalton.com/2012/01/05/things-still-missing-from-css/">Read more &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.molly.com/">Molly Holzschlag</a> wrote a great article for .Net Magazine outlining <a href="http://www.netmagazine.com/features/seven-things-still-missing-css">seven things still missing from CSS</a>. She gets into web fonts on #5, which is my favorite. I particularly liked this point:</p>
<blockquote><p>Fine control remains elusive – kerning, character spacing – controlling these aspects are both difficult to specify for numerous reasons. This is frustrating to designers who love typography and want to have that finer control.</p></blockquote>
<p>Huzzah! I couldn’t agree more. As web designers, now that our type options have drastically expanded, we want the same level of control over them that print designers do. That includes kerning as well as more interesting &amp; intricate typographic arrangements. The key here is specificity. If we can target letters and words with CSS the sky is the limit. For further reading here are some posts that my friends and I have written on the topic:</p>
<ul>
<li><a href="http://trentwalton.com/2011/01/18/controlling-web-typography/">Controlling Web Typography</a>: An older post I wrote summing up Lettering.js and explaining why we hope CSS makes it obsolete</li>
<li><a href="http://css-tricks.com/a-call-for-nth-everything/">A Call for ::nth-Everything</a>: This is Chris Coyier’s take, but much more comprehensive and clearly reasoned than mine.</li>
<li><a href="http://letteringjs.com/">Lettering.js</a>: I like to think of the gallery as a series of case studies for how enhanced selectors would be useful.</li>
<li><a href="http://daverupert.com/2010/09/lettering-js/">Dave Rupert’s original Lettering.js post</a>: A great introduction to how Lettering.js came about and how to implement it.</li>
</ul>
<p>One interesting potential issue with finer control could be what happens if we target specific letters or words on a multi-lingual site. Something as detailed as <a href="http://blog.typekit.com/2011/01/06/type-study-an-example-of-lettering-js/">this</a> might make no sense, or break visually in another language. This was a point <a href="http://christianheilmann.com/">Christian Heilmann</a> raised last summer at <a href="http://convergese.com/">ConvergeSE</a>, and something I don’t yet have a good answer for.</p>
<p>Overall, I think that the fewer situations where web designers have to resort to image replacement for text the better.</p>
]]></content:encoded>
			<wfw:commentRss>http://trentwalton.com/2012/01/05/things-still-missing-from-css/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Netmag: Texturizing Web Type</title>
		<link>http://trentwalton.com/2011/11/02/netmag-texturizing-web-type/</link>
		<comments>http://trentwalton.com/2011/11/02/netmag-texturizing-web-type/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 19:44:56 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Netmag]]></category>
		<category><![CDATA[published]]></category>
		<category><![CDATA[Responsive]]></category>
		<category><![CDATA[Typography]]></category>
		<category><![CDATA[Web Fonts]]></category>

		<guid isPermaLink="false">http://trentwalton.com/?p=4794</guid>
		<description><![CDATA[I recently wrote a tutorial on texturizing web type for .Net magazine (Issue 221). One of my favorite CSS properties for text, mask-image, is covered in-depth from creating a semi-transparent texture in Photoshop to implementing it with HTML &#38; CSS. To take things further, I added in a CSS transform to get that skew, then dropped in FitText to make it all scalable for use in your fluid/responsive... <a href="http://trentwalton.com/2011/11/02/netmag-texturizing-web-type/">Read more &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>I recently wrote a tutorial on texturizing web type for .Net magazine (<a href="http://www.netmagazine.com/shop/magazines/november-2011-221">Issue 221</a>). One of my favorite CSS properties for text, <a href="http://trentwalton.com/2011/05/19/mask-image-text/">mask-image</a>, is covered in-depth from creating a semi-transparent texture in Photoshop to implementing it with HTML &amp; CSS. </p>
<p><img src="/wp-content/uploads/2011/11/netmag221.jpg" alt="Netmag"/></p>
<p>To take things further, I added in a CSS transform to get that skew, then dropped in <a href="http://fittextjs.com">FitText</a> to make it all scalable for use in your fluid/responsive layout. Get a copy of <a href="http://www.netmagazine.com/shop/magazines/november-2011-221">Issue 221</a>  &amp; check it out for yourself!</p>
<p><img src="/wp-content/uploads/2011/11/netmag221_final.png" alt="Netmag"/></p>
]]></content:encoded>
			<wfw:commentRss>http://trentwalton.com/2011/11/02/netmag-texturizing-web-type/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS Off</title>
		<link>http://trentwalton.com/2011/10/20/css-off/</link>
		<comments>http://trentwalton.com/2011/10/20/css-off/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 17:06:49 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Markup]]></category>
		<category><![CDATA[Paravel]]></category>
		<category><![CDATA[Responsive]]></category>
		<category><![CDATA[Web Fonts]]></category>

		<guid isPermaLink="false">http://trentwalton.com/?p=4748</guid>
		<description><![CDATA[Gene Crawford from UnmatchedStyle asked Paravel to design a page for this year’s CSS Off competition. Over 5,000 front-end developers have entered to show off their skills by taking a PSD we designed and coding it out. Entries will be judged and prizes will be awarded. Awesome! After a morning of team planning and intensive YouTube research, we settled on building a page for a fictitious gameshow on... <a href="http://trentwalton.com/2011/10/20/css-off/">Read more &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>Gene Crawford from <a href="http://www.unmatchedstyle.com">UnmatchedStyle</a> asked <a href="http://paravelinc.com">Paravel</a> to design a page for this year’s <a href="http://www.unmatchedstyle.com/cssoff">CSS Off competition</a>. Over 5,000 front-end developers have entered to show off their skills by taking a PSD we designed and coding it out. Entries will be <a href="http://www.unmatchedstyle.com/cssoff/rules.php">judged</a> and <a href="http://www.unmatchedstyle.com/cssoff/sponsors.php">prizes</a> will be awarded. Awesome!</p>
<p><a href="http://unmatchedstyle.com/cssoff/signup.php"><img src="/wp-content/uploads/2011/10/tripledare.jpg" alt="CSS Off Triple Dare"/></a></p>
<p>After a morning of team planning and <a href="http://www.youtube.com/watch?v=2F31cn7E7yw">intensive YouTube research</a>, we settled on building a page for a fictitious gameshow on the Knuckleodeon Network called Triple Dare. Reagan put together some <a href="http://dribbble.com/raygunray/tags/triple_dare">fantastic illustrations</a>, and I designed them into a layout that I hope leaves lots of room for code-out interpretation. There are quite a few places where interesting animations, transitions, transforms, and interactions could be built in. Heck, this thing could also be built responsibly... I mean responsively... I mean both ;)</p>
<p>Be sure to <a href="http://blog.reaganray.com/post/11701325404/illustrating-the-css-off">read Reagan’s post</a> to get the low down on his illustration process. We’re all very excited to see what people come up with. Happy front-ending! </p>
]]></content:encoded>
			<wfw:commentRss>http://trentwalton.com/2011/10/20/css-off/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>CSS Hyphenation</title>
		<link>http://trentwalton.com/2011/09/07/css-hyphenation/</link>
		<comments>http://trentwalton.com/2011/09/07/css-hyphenation/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 16:41:54 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Responsive]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Typography]]></category>
		<category><![CDATA[Webkit]]></category>

		<guid isPermaLink="false">http://trentwalton.com/?p=4678</guid>
		<description><![CDATA[After reading this Fontdeck Blog post a few of weeks ago, I dropped an exciting new CSS property into the stylesheet for this blog. Wanting to test hyphenation on all my posts and pages, I applied CSS hyphenation to all paragraphs: p { -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; } During a day or so of road testing I noticed some pretty funky widows, so I fine-tuned my... <a href="http://trentwalton.com/2011/09/07/css-hyphenation/">Read more &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>After reading <a href="http://blog.fontdeck.com/post/9037028497/hyphens">this Fontdeck Blog post</a> a few of weeks ago, I dropped an exciting new CSS property into the stylesheet for this blog. Wanting to test hyphenation on all my posts and pages, I applied <a href="http://www.w3.org/TR/css3-text/#hyphenation">CSS hyphenation</a> to all paragraphs:</p>
<p><code>p {<br />
-webkit-hyphens: auto;<br />
-moz-hyphens: auto;<br />
hyphens: auto;<br />
}</code></p>
<p>During a day or so of road testing I noticed some pretty funky <a href="http://en.wikipedia.org/wiki/Widows_and_orphans">widows</a>, so I fine-tuned my stylesheet to only target narrow columns, like the ones on <a href="http://trentwalton.com/info/">my info page</a>, which is a scenario where CSS hyphenation really comes in handy. Overall, I’m not sure what to think about fluid columns and widows—they’re bound to show up at varying widths. I try to avoid them at my defined max-width, but have plans to test the <a href="http://wordpress.org/extend/plugins/wp-typography/">wp-Typography plugin</a> in a responsive setting once we perform some server upgrades for the blog (taking our old Media Temple DV from php 4 to 5). I’ll be sure to report back when we get there.</p>
<p><strong>Update (9/21/11)</strong>: I’m happily using the <a href="http://kingdesk.com/projects/wp-typography/" title="Wordpress Typography Plugin">wp-Typography plugin</a> to prevent widows now that our servers have been upgraded. Things seem to be reflowing smoothly in my responsive layout. This plugin has loads of features, hyphenation, spacing control, character replacement, etc., that I’ll be experimenting with further soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://trentwalton.com/2011/09/07/css-hyphenation/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>More CSS Mask-Image &amp; Text</title>
		<link>http://trentwalton.com/2011/06/01/more-css-mask-image-text/</link>
		<comments>http://trentwalton.com/2011/06/01/more-css-mask-image-text/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 15:43:23 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Web Fonts]]></category>
		<category><![CDATA[Webkit]]></category>

		<guid isPermaLink="false">http://trentwalton.com/?p=4470</guid>
		<description><![CDATA[After my last post on mask-image, I needed to create a few more examples for an upcoming tutorial. I had to abandon this one because it wasn’t straightforward enough—though I quite like how it turned out, so I thought I’d share. Remember this property is sadly webkit-only at the moment. Ground Control Note: If you’re on any responsive width other than 100% (full), the masked shadows won’t line... <a href="http://trentwalton.com/2011/06/01/more-css-mask-image-text/">Read more &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>After my <a href="http://trentwalton.com/2011/05/19/mask-image-text/">last post</a> on <code><a href="http://www.webkit.org/blog/181/css-masks/">mask-image</a></code>, I needed to create a few more examples for an upcoming tutorial. I had to abandon <a href="http://dribbble.com/shots/183050-Ground-Control/attachments/2349">this one</a> because it wasn’t straightforward enough—though I quite like how it turned out, so I thought I’d share. Remember this property is sadly webkit-only at the moment.</p>
<div class="masked">
<h3>Ground Control</h3>
</div>
<p>Note: If you’re on any responsive width other than 100% (full), the masked shadows won’t line up. That got me thinking: wouldn’t it be cool if you could scale masked images like you can background images? Maybe it’d look a little something like: <code>mask-image-size:100%;</code></p>
<p>Thanks to <a href="http://www.theleagueofmoveabletype.com">The League of Movable Type</a> and <a href="http://twitter.com/%23!/Sursly">Tyler Fink</a> for providing <a href="http://www.theleagueofmoveabletype.com/fonts/18-ostrich-sans">Ostrich</a>, the font used in the design.<br />
<script src="/wp-content/themes/delia4/js/jquery.fittext.js"></script><script src="/wp-content/themes/delia4/js/jquery.lettering-0.6.1.min.js"></script><script type="text/javascript">$(document).ready(function(){$(".masked h3").lettering('words');});</script><script type="text/javascript">jQuery(document).ready(function($) {$(".masked .word1").fitText(1);$(".masked .word2").fitText(0.34);});</script><br />
<style>@font-face {font-family: 'OstrichSansMedium'; src: url('/wp-content/uploads/2011/05/fonts/ostrich-regular-webfont.eot'); src: url('/wp-content/uploads/2011/05/fonts/ostrich-regular-webfont.eot?#iefix') format('embedded-opentype'), url('/wp-content/uploads/2011/05/fonts/ostrich-regular-webfont.woff') format('woff'), url('/wp-content/uploads/2011/05/fonts/ostrich-regular-webfont.ttf') format('truetype'), url('/wp-content/uploads/2011/05/fonts/ostrich-regular-webfont.svg#OstrichSansMedium') format('svg');font-weight: normal;font-style: normal;}.masked{font-family: 'OstrichSansMedium';text-align: center;background: #fff url(/wp-content/uploads/2011/05/gc_bg.jpg) no-repeat;max-height: 850px;background-size:100%;color: #ffffea;padding-bottom: 12%;}.masked h3{color: #ffffea;padding-top: 85.5%;-webkit-mask-image: url(/wp-content/uploads/2011/05/gcshuttle.png); -o-mask-image:  url(/wp-content/uploads/2011/05/gcshuttle.png); -moz-mask-image:  url(/wp-content/uploads/2011/05/gcshuttle.png); mask-image:  url(/wp-content/uploads/2011/05/gcshuttle.png); }.masked span{display: block;}.masked span{width:100%;line-height: 1;}.masked .word1{letter-spacing: .2em;text-indent: .2em;}.masked .word2{margin-top: -.15em;}</style>
]]></content:encoded>
			<wfw:commentRss>http://trentwalton.com/2011/06/01/more-css-mask-image-text/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>CSS Mask-Image &amp; Text</title>
		<link>http://trentwalton.com/2011/05/19/mask-image-text/</link>
		<comments>http://trentwalton.com/2011/05/19/mask-image-text/#comments</comments>
		<pubDate>Thu, 19 May 2011 16:43:32 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Web Fonts]]></category>
		<category><![CDATA[Webkit]]></category>

		<guid isPermaLink="false">http://trentwalton.com/?p=4398</guid>
		<description><![CDATA[I recently wrote about Controlling Web Typography and focused on CSS pseudo selectors &#38; down-to-the-letter control. As a web designer, I want the same level of control over type that print designers have, including texture. There are currently 2 webkit CSS properties that I’ve grown to love and hope gain more traction &#38; browser support. My favorite would have to be background-clip:text, but it currently degrades poorly. A... <a href="http://trentwalton.com/2011/05/19/mask-image-text/">Read more &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>I recently wrote about <a href="http://trentwalton.com/2011/01/18/controlling-web-typography/">Controlling Web Typography</a> and focused on CSS pseudo selectors &amp; down-to-the-letter control. As a web designer, I want the same level of control over type that print designers have, including texture. There are currently 2 webkit CSS properties that I’ve grown to love and hope gain more traction &amp; browser support. My favorite would have to be <a href="http://www.webkit.org/blog/164/background-clip-text/"><code>background-clip:text</code></a>, but it currently degrades poorly. A close second is <a href="http://www.webkit.org/blog/181/css-masks/"><code>mask-image</code></a>, which you can apply to text.</p>
<p>In the example below I’ve implemented a subtle grey flecked texture effect over the white text. Hover over the box to see how it will degrade in non-supporting browsers. The texture simply won’t show up until (fingers crossed) the property is supported by all browsers.</p>
<style type="text/css" media="screen">
@font-face {font-family: 'AlternateGothicFSNo3'; src: url('/wp-content/themes/delia4/fonts/AlternateGothicNo3-webfont.eot');src: local('☺'), url('/wp-content/themes/delia4/fonts/AlternateGothicNo3-webfont.woff') format('woff'), url('/wp-content/themes/delia4/fonts/AlternateGothicNo3-webfont.ttf') format('truetype'), url('/wp-content/themes/delia4/fonts/AlternateGothicNo3-webfont.svg#webfonttvBCWiRH') format('svg');font-weight: normal;font-style: normal;}	
.mask-box {color: #fff;width: 100%;padding: 12% 0 12%;text-align:center;background: #fff url(/wp-content/uploads/2011/05/dinero_bg.jpg) no-repeat;font: 12px "AlternateGothicFSNo3";text-transform: uppercase;margin-bottom:.9em; overflow: hidden;}	
.mask-box p{margin-bottom: 0; }
.mask-box h3{color: #fff;font-size: 30px;line-height: 1;margin-bottom: -0.15em; margin-top: -0.11em;}
.mask-box h3, .mask-box p{width:100%; display: inline-block;-webkit-mask-image: url(/wp-content/uploads/2011/05/mask.png); -o-mask-image:  url(/wp-content/uploads/2011/05/mask.png); -moz-mask-image:  url(/wp-content/uploads/2011/05/mask.png); mask-image:  url(/wp-content/uploads/2011/05/mask.png); text-shadow: 0px 0px 30px rgba(30, 28, 28, 0.6);}
.mask-box:hover, .mask-box:hover h3, .mask-box:hover p{-webkit-mask-image: none; -o-mask-image: none;  -moz-mask-image: none; mask-image: none;text-shadow: none; cursor: pointer;}</style>
<div class="mask-box">
<h3>Dinero</h3>
<p>Is not spanish for dinner</p>
</div>
<p>Here’s the CSS code with all the structural bits trimmed out:<br/><code>.mask-box h3, .mask-box p{<br />
	-webkit-mask-image: url(/path/to/mask.png);<br />
	-o-mask-image: url(/path/to/mask.png);<br />
	-moz-mask-image: url(/path/to/mask.png);<br />
	mask-image:  url(/path/to/mask.png);<br />
	text-shadow: 0px 0px 30px rgba(30, 28, 28, 0.6);}</code>	</p>
<p>In most cases, I prefer subtle amounts of texture / graphic applied to text. The best example of a well used <code>mask-image</code> for type I’ve ever seen is <a href="http://tintype.mikemeyer.im/adoption/home.html">this event page</a> designed by Matthew Smith of <a href="http://squaredeye.com/">Squared Eye</a> and built by <a href="http://mikemeyer.im/">Michael Meyer</a>. The “A Night for Adoption” headline is selectable <em>and </em>it’s got rays of sun shining through. Magical!</p>
<p><a href="http://tintype.mikemeyer.im/adoption/home.html"><img src="/wp-content/uploads/2011/05/mask_example.jpg" alt="webkit mask image example"/></a></p>
<p>As you use and join the chorus to get CSS3 properties more widely accepted, don’t forget about <code>background-clip:text</code> and <code>mask-image</code>. When these properties are combined with web fonts, <a href="http://trentwalton.com/2011/01/18/controlling-web-typography/#nth">enhanced CSS pseudo selectors</a>, and CSS transforms, we’ll soon be all out of reasons to resort to image replacement for beautiful type on the web.<br />
<script src="/wp-content/themes/delia4/js/jquery.fittext.js"></script><script type="text/javascript">jQuery(document).ready(function($) {$(".mask-box p").fitText(1.11);$(".mask-box h3").fitText(0.28);});</script></p>
]]></content:encoded>
			<wfw:commentRss>http://trentwalton.com/2011/05/19/mask-image-text/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Converge SE 2011</title>
		<link>http://trentwalton.com/2011/05/12/converge-se-2011/</link>
		<comments>http://trentwalton.com/2011/05/12/converge-se-2011/#comments</comments>
		<pubDate>Thu, 12 May 2011 18:46:10 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Paravel]]></category>
		<category><![CDATA[Typography]]></category>
		<category><![CDATA[Web Fonts]]></category>

		<guid isPermaLink="false">http://trentwalton.com/?p=4385</guid>
		<description><![CDATA[I’ll be doing double duty this June at Converge SE, teaming up with my Paravel cohorts, Dave &#38; Reagan, for a workshop called Designing with Type on Friday, and speaking about Controlling Web Typography on Saturday. The plan will be to cover a lot of ground from the practical to the progressive on each day, with a focus on how you can make the most out of designing... <a href="http://trentwalton.com/2011/05/12/converge-se-2011/">Read more &#8594;</a>]]></description>
			<content:encoded><![CDATA[<p>I’ll be doing double duty this June at <a href="http://convergese.com/">Converge SE</a>, teaming up with my Paravel cohorts, <a href="http://twitter.com/davatron5000">Dave</a> &amp; <a href="http://twitter.com/raygunray">Reagan</a>, for a workshop called <a href="http://convergese.com/workshops/web-type/">Designing with Type</a> on Friday, and speaking about <a href="http://convergese.com/lectures/controlling-web-typography/">Controlling Web Typography</a> on Saturday. The plan will be to cover a lot of ground from the practical to the progressive on each day, with a focus on how you can make the most out of designing with type on the web.</p>
<p>We’d love your feedback—if there’s anything you’d like us to dig into specifically during the workshop, comment &amp; let us know.</p>
]]></content:encoded>
			<wfw:commentRss>http://trentwalton.com/2011/05/12/converge-se-2011/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Controlling Web Typography</title>
		<link>http://trentwalton.com/2011/01/18/controlling-web-typography/</link>
		<comments>http://trentwalton.com/2011/01/18/controlling-web-typography/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 15:31:05 +0000</pubDate>
		<dc:creator>Trent</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Lettering.js]]></category>
		<category><![CDATA[Markup]]></category>
		<category><![CDATA[Typography]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Web Fonts]]></category>

		<guid isPermaLink="false">http://trentwalton.com/?p=4140</guid>
		<description><![CDATA[Lettering.js was built to solve a problem. As web typography improves, web designers want the same level of control print designers have. Just as we’ve moved beyond Helvetica and Times New Roman, we’ve begun to think about web type in finer detail than &#60;h1&#62; or &#60;span&#62; tags currently (semantically) allow. For example, when Dave Rupert and I prepared to markup the 3 sites for the Lost World’s Fairs... <a href="http://trentwalton.com/2011/01/18/controlling-web-typography/">Read more &#8594;</a>]]></description>
			<content:encoded><![CDATA[<h3>Lettering.js was built to solve a problem. As web typography improves, web designers want the same level of control print designers have.</h3>
<p>Just as we’ve moved beyond Helvetica and Times New Roman, we’ve begun to think about web type in finer detail than <code>&lt;h1&gt;</code> or <code>&lt;span&gt;</code> tags currently (semantically) allow. For example, when <a href="http://daverupert.com">Dave Rupert</a> and I prepared to markup the 3 sites for the <a href="http://lostworldsfairs.com">Lost World’s Fairs</a> project, we saw elements in each design that would require an excessive number of <code>&lt;span&gt;</code> tags to target words, even letters, at a time.</p>
<p><a href="http://lostworldsfairs.com/eldorado"><img src="/wp-content/uploads/2011/01/eldorado.png" alt="El Dorado" class="third"></a><a href="http://lostworldsfairs.com/atlantis"><img src="/wp-content/uploads/2011/01/atlantis.png" alt="Atlantis" class="third"></a><a href="http://lostworldsfairs.com/moon"><img src="/wp-content/uploads/2011/01/moon.png" alt="The Moon" class="last third"></a></p>
<p>Ideally, CSS selector pseudo <a href="http://www.w3.org/TR/css3-selectors/#pseudo-classes">classes</a> or <a href="http://www.w3.org/TR/css3-selectors/#pseudo-elements">elements</a> would work, but even with options like <a href="http://www.w3.org/TR/css3-selectors/#nth-child-pseudo"><code>:nth-child</code></a> and <a href="http://www.w3.org/TR/css3-selectors/#first-letter"><code>::first-letter</code></a> we wouldn’t be able to target all that we needed.  As eager as we were to dive into building these beautifully designed pages, we couldn’t help but realize two things:</p>
<ol>
<li>We needed more control over letters, words, and lines than CSS currently provided for.</li>
<li>The markup was going to be extremely difficult to manage because wrapping individual letters in <code>&lt;span&gt;</code> tags would get messy quick.</li>
</ol>
<p>An hour later Dave came back with the best solution we could think of: a simple jQuery plugin that injected <code>&lt;span&gt;</code> tags around letters, words, or lines within any declared element. Lettering.js let us build out &amp; revise the pages, saving heaps of code as well as grunt work. It was such a lifesaver that we decided to share it with the web community, launching <a href="http://letteringjs.com">letteringjs.com</a> late fall 2010.</p>
<p><a href="http://letteringjs.com"><img src="/wp-content/uploads/2011/01/lettering.png" alt="Lettering.js"></a></p>
<h3>Lettering.js was well-received, though there are a few valid criticisms that I’d like to briefly address:</h3>
<p><em>If you buy good fonts, they don’t need to be kerned.</em><br />
That may be, but some fonts do, and the thinking behind Lettering.js goes beyond kerning into overall control. What if web designers want to use italics, font-size, or even change font-family within an element?</p>
<p><em>Lettering.js isn’t the only way.</em><br />
True, and it isn’t the ultimate solution either. Let’s consider our options from most problematic to least:</p>
<ol class="options">
<li>Embed an image</li>
<li>Use CSS image replacement</li>
<li>Wrap letters or words in <code>&lt;span&gt;</code> tags</li>
<li>Use JS to inject <code>&lt;span&gt;</code> tags after the markup as we have with Lettering.js</li>
</ol>
<p><em>Even though the <code>&lt;span&gt;</code> tags aren’t in the markup, there’s still bloat.</em><br />
This is true. While Lettering.js keeps the source HTML clean, it doesn’t do the DOM any favors and inserts quite a bit of code.</p>
<p><em>Load times are increased. Javascript libraries are loaded just to target a few words or letters.</em><br />
Again, consider the alternatives.  An image could easily outweigh javascript code.  On the other hand, yes, it’d be ideal to do this independently from JS.</p>
<h3>Can we replace Lettering.js with CSS?</h3>
<p>I hope so. Lettering.js is a solution, but perhaps it’s not the ultimate solution. As I mentioned earlier, <a href="http://www.w3.org/TR/css3-selectors/#selectors">CSS Selectors</a> come close. What if the CSS spec was adapted to fill in the gaps? After scouring the internet, here’s a brief timeline recounting what’s already been discussed.</p>
<div class="year">1996</div>
<p>The W3C proposed <a href="http://www.w3.org/TR/PR-CSS1-961112">Cascading Style Sheets, level 1</a> (CSS1) featuring the <a href="http://www.w3.org/TR/PR-CSS1-961112#the-first-letter-pseudo-element"><code>::first-letter</code></a> and <a href="http://www.w3.org/TR/PR-CSS1-961112#the-first-line-pseudo-element"><code>::first-line</code></a> pseudo selectors.</p>
<div class="year">2003</div>
<p>Anne Van Kesteren <a href="http://annevankesteren.nl/2003/09/from-a-markover-to-pseudo-elements">explored the idea of expanding selectors</a> to cover <code>::nth-line(n)</code> and <code>::nth-letter(n)</code>.</p>
<div class="year">2005</div>
<p>Safari 1.3 was released as the first browser to fully support both the <code>::first-letter</code> and <code>::first-line</code> pseudo selectors. It’s worth mentioning that prior to this, IE5.5+ (July 2000 ) and Firefox 1 (November 9, 2004 )  had partial/buggy support for these selectors.</p>
<div class="year">2006</div>
<p>An extensive (50+ message) CSSWG thread on <a href="http://lists.w3.org/Archives/Public/www-style/2006Aug/0033.html">Proposed <code>::last-line</code> and <code>::last-letter</code> selectors</a> was started by Andrés Delfino. The feasibility was discussed at length, and <a href="http://lists.w3.org/Archives/Public/www-style/2006Aug/0080.html">rejected due to narrow user base and high cost / complexity</a>.</p>
<p>At the time, this thread had trouble coming up with good use cases. With the expansion of pseudo selectors &amp; available web fonts, good use cases are now everywhere. The discussion focused heavily on <code>::last-line</code> &amp; <code>::last-letter</code> which may not be particularly useful.</p>
<div class="year">2010</div>
<p><a href="http://daverupert.com">Dave Rupert</a> built <a href="http://letteringjs.com">Lettering.js</a> as a workaround.  Version 0.6.1 has been downloaded 1500 times, with 550 watchers on Github, indicating that alongside the growth of web fonts, the ‘narrow user base’ is widening rapidly.</p>
<p><a href="http://yearinreview.twitter.com/powerful-tweets/"><img src="/wp-content/uploads/2011/01/twitter.png" class="third top_row"/></a><a href="http://designingmonsters.com/"><img src="/wp-content/uploads/2011/01/DesigningMonsters.png" class="third top_row"/></a><a href="http://typekit.com/holiday2010"><img src="/wp-content/uploads/2011/01/typekit_holiday.png" class="third top_row last"/></a></p>
<p><a href="http://trentwalton.com/examples/cowpoke/"><img src="/wp-content/uploads/2011/01/cowpokes.png" class="third"/></a><a href="http://20tongues.simonfosterdesign.com/"><img src="/wp-content/uploads/2011/01/20tongues.png" class="third"/></a><a href="http://andreashommel.net/sandbox/lettering/"><img src="/wp-content/uploads/2011/01/sexy_indeed.png" class="third last"/></a></p>
<p>From CSS1, we’ve been able to use pseudo-elements to target <code>::first-letter</code>.  What if you extended that idea to targeting letters, or even words, within an element similar to the CSS3 <code>::nth-child(n)</code> selector, resulting in something like this:</p>
<p><code class="big" id="nth">h1:nth-letter(4); or h1:nth-char(4);</code><br />
targeting the 4th letter within an <code>&lt;h1&gt;</code> tag.</p>
<p><code class="big">h1:nth-word(3);</code><br />
targeting the third word within an <code>&lt;h1&gt;</code> tag.</p>
<p>I think this would be the ideal solution from a web designer’s perspective. No javascript would be required, and 100% of the styling would be handled right where it should be- in the CSS. On the other hand, I have no idea what goes into implementing these additions for a browser, which is why the idea has been proposed as a blog post with comments. Please, feel free to share your own thoughts about how we can gain more typographic control on the web.</p>
]]></content:encoded>
			<wfw:commentRss>http://trentwalton.com/2011/01/18/controlling-web-typography/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</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: enhanced
Database Caching 1/10 queries in 0.003 seconds using disk: basic
Object Caching 841/850 objects using disk: basic

Served from: trentwalton.com @ 2012-02-03 21:40:16 -->
