<?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>CSSKarma &#187; quick tip</title> <atom:link href="http://www.csskarma.com/blog/tag/quick-tip/feed/" rel="self" type="application/rss+xml" /><link>http://www.csskarma.com/blog</link> <description>display your style</description> <lastBuildDate>Tue, 31 Jan 2012 15:18:44 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Media Query Transition Animations</title><link>http://www.csskarma.com/blog/media-animations/</link> <comments>http://www.csskarma.com/blog/media-animations/#comments</comments> <pubDate>Wed, 11 May 2011 22:38:21 +0000</pubDate> <dc:creator>Tim</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[animation]]></category> <category><![CDATA[css3]]></category> <category><![CDATA[quick tip]]></category><guid
isPermaLink="false">http://www.csskarma.com/blog/?p=904</guid> <description><![CDATA[I&#8217;ve been doing a lot with Responsive Design, Media Queries (yea, they&#8217;re different), and light transitions with CSS 3 lately and something kind of cool happened. By sheer accident I put a transition inside a media query, resized my window and watch the padding on my &#60;article&#62; element animate to it&#8217;s new value. It was [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been doing a lot with <a
href="http://www.alistapart.com/articles/responsive-web-design/">Responsive Design</a>, Media Queries (yea, they&#8217;re different), and light transitions with CSS 3 lately and something kind of cool happened. By sheer accident I put a transition inside a media query, resized my window and watch the padding on my <code>&lt;article&gt;</code> element animate to it&#8217;s new value.</p><p>It was way cool. check out a quick <a
href="http://www.csskarma.com/lab/media-animations/">demo I threw together</a>.</p><p>I inserted 2 breakpoints in the demo. One at 800px and another at 480px, so you should see the design adjust twice.</p><h2>The CSS</h2><pre><code>header h1 a,
article h1,
article h2,
article{
     -moz-transition: all .5s linear;
     -webkit-transition: all .5s linear;
     transition: all .5s linear;
}
</code></pre><p>Put that in with the base CSS (not the media query) and you&#8217;ll get a nice animation effect as you resize the browser window.</p><p>You can&#8217;t animate all the properties, but things like: color, margin, padding, color, font-size, etc are all fair game. I&#8217;ve mostly been using transitions for softening hover effect lately, but I think this, if tastefully done, can be a nice hidden (and light weight) gem.</p> ]]></content:encoded> <wfw:commentRss>http://www.csskarma.com/blog/media-animations/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Quick Tip #3 &#8211; Textarea Fonts</title><link>http://www.csskarma.com/blog/qt3-textarea-fonts/</link> <comments>http://www.csskarma.com/blog/qt3-textarea-fonts/#comments</comments> <pubDate>Tue, 01 Sep 2009 02:28:27 +0000</pubDate> <dc:creator>Tim</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[beginner]]></category> <category><![CDATA[forms]]></category> <category><![CDATA[quick tip]]></category><guid
isPermaLink="false">http://www.csskarma.com/blog/?p=558</guid> <description><![CDATA[The Problem The font family in this text area default to Courier New, but that&#8217;s pretty ugly. The Goal Look at the nice font in this textarea! The Solution You have to redefine the font-family for a textarea. Just a weird quirk. textarea{ font-family:Verdana, Arial, Sans-Serif; }]]></description> <content:encoded><![CDATA[<p><img
src="http://www.csskarma.com/images/articles/textarea-fonts.jpg" alt="article banner"/></p><h4>The Problem</h4><p><textarea cols="40" rows="10" class="testfield courier">The font family in this text area default to Courier New, but that&#8217;s pretty ugly.</textarea></p><h4>The Goal</h4><p><textarea cols="40" rows="10" style="font-family: verdana">Look at the nice font in this textarea!</textarea></p><h4>The Solution</h4><p>You have to redefine the font-family for a <code>textarea</code>. Just a weird quirk.</p><pre><code>textarea{
font-family:Verdana, Arial, Sans-Serif;
}</code></pre>]]></content:encoded> <wfw:commentRss>http://www.csskarma.com/blog/qt3-textarea-fonts/feed/</wfw:commentRss> <slash:comments>2</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 7/14 queries in 0.044 seconds using disk: basic

Served from: www.csskarma.com @ 2012-02-09 16:20:57 -->
