<?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>Webmaster-Source &#187; CSS3</title>
	<atom:link href="https://www.webmaster-source.com/tag/css3/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.webmaster-source.com</link>
	<description>Useful Resources For Webmasters</description>
	<lastBuildDate>Thu, 24 Aug 2017 02:01:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>CSS Zen Garden Returns</title>
		<link>https://www.webmaster-source.com/2013/05/15/css-zen-garden-returns/</link>
		<comments>https://www.webmaster-source.com/2013/05/15/css-zen-garden-returns/#comments</comments>
		<pubDate>Wed, 15 May 2013 11:09:30 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=5095</guid>
		<description><![CDATA[It&#8217;s been ten years since CSS Zen Garden launched with its goal to excite and inspire people to build creative designs with the much more limited tools CSS offered at the time. A decade later, it&#8217;s back. Given how the CSS landscape has changed since the original CSS Zen Garden, it will be interesting to [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s been ten years since <a href="http://www.csszengarden.com/">CSS Zen Garden</a> launched with its goal to excite and inspire people to build creative designs with the much more limited tools CSS offered at the time. <a href="http://mezzoblue.com/archives/2013/05/07/10_years/">A decade later, it&#8217;s back.</a> Given how the CSS landscape has changed since the original CSS Zen Garden, it will be interesting to see what people create with the new requirements.</p>
<blockquote><p>So for the tenth anniversary, the Zen Garden is open for business once more. I’ve <a href="https://github.com/mezzoblue/csszengarden.com">thrown the codebase on Github</a>, given the dusty copy a refresh, started the conversion of the site to HTML5, and brought all of the existing designs kicking and screaming into the modern age. The work isn’t done yet, but it’s a darn sight closer to how we would build it these days. If you see an area that needs help, consider sending a patch. (Here’s the current <a href="https://github.com/mezzoblue/csszengarden.com/issues">list of issues</a> to resolve, for example.)</p></blockquote>
<p><a href="http://mezzoblue.com/archives/2013/05/07/10_years/">10 Years</a> [Mezzoblue]</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2013/05/15/css-zen-garden-returns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML and CSS: Develop with Tomorrow&#8217;s Standards Today by Brian P. Hogan</title>
		<link>https://www.webmaster-source.com/2013/04/03/html-and-css-develop-with-tomorrows-standards-today-by-brian-p-hogan/</link>
		<comments>https://www.webmaster-source.com/2013/04/03/html-and-css-develop-with-tomorrows-standards-today-by-brian-p-hogan/#comments</comments>
		<pubDate>Wed, 03 Apr 2013 11:04:49 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[(x)html]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=5045</guid>
		<description><![CDATA[I recently unearthed a review copy of a book that somehow got lost in the shuffle a couple of years ago, HTML5 and CSS3: Develop with Tomorrow&#8217;s Standards Today by Brian P. Hogan, which is too bad, since it&#8217;s one of the better books I&#8217;ve seen on the subject. It&#8217;s a comprehensive primer on the [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  class="alignright size-full wp-image-5046" alt="HTML5 and CSS3: Develop with Tomorrow's Standards Today" src="//www.webmaster-source.com/wp-content/uploads/2013/03/brianhogan-html5css3book.png" width="200" height="240" />I recently unearthed a review copy of a book that somehow got lost in the shuffle a couple of years ago,<a href="http://www.amazon.com/gp/product/1934356689/webmasterso0d-20"><em> HTML5 and CSS3: Develop with Tomorrow&#8217;s Standards Today</em></a> by Brian P. Hogan, which is too bad, since it&#8217;s one of the better books I&#8217;ve seen on the subject. It&#8217;s a comprehensive primer on the changes in HTML5 and CSS3. I enjoyed reading through the book after I unburied it last week.</p>
<p>It features a chapter on logically marking up page structure with the new semantic tags (<code>header</code>, <code>nav</code>, <code>section</code>, <code>article</code>, etc.), which explains the contexts they should be used in with a hands-on example of restructuring a blog without excessive divs. A lot of online tutorials make the error of suggesting the <code>aside</code> element for a blog sidebar, which the book helpfully points out as wrong. The <code>section</code> element is the proper tag for the job, as it denotes an arbitrary section of the page, whereas <code>aside</code> is for broken-out sections of your article content, such as pullquotes or diagrams.</p>
<p>From there the author moves on to some CSS3 tricks using newly-added selectors. He shows some simple methods to add zebra-striping to tables with pseudo-classes and add visible URLs to links via a print stylesheet with <code>:after</code>. There&#8217;s a brief section demonstrating media queries, as well some on the new JavaScript APIs—localStorage and history pushState, for example. There&#8217;s even a bit on using cache manifests to set up offline access.</p>
<p>Oh, and the deprecations. HTML5 deprecates a good many tags and attributes. There is a section listing those, as well as some modern alternatives, such as opening links in new windows without the deprecated <code>target</code> attribute. It can be done cleanly and semantically by using JavaScript, without impacting the user&#8217;s ability to middle-click a link and open a new tab&#8230;which far too many sites <em>still</em> do today. If you do that, you need to read this book just for that reason.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2013/04/03/html-and-css-develop-with-tomorrows-standards-today-by-brian-p-hogan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pure CSS Blockquote Styling</title>
		<link>https://www.webmaster-source.com/2012/04/24/pure-css-blockquote-styling/</link>
		<comments>https://www.webmaster-source.com/2012/04/24/pure-css-blockquote-styling/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 11:53:50 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[(x)html]]></category>
		<category><![CDATA[blockquote]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4604</guid>
		<description><![CDATA[Ever since the days of print, it has been common to style quotations and cover blurbs with oversized quotation marks floating along the left side. The practice is alive and well in the internet age, though the technique usually used is a background image. It&#8217;s 2012, already! Why are we still relying on pictures of [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Ever since the days of print, it has been common to style quotations and cover blurbs with oversized quotation marks floating along the left side. The practice is alive and well in the internet age, though the technique usually used is a background image.</p>
<p>It&#8217;s 2012, already! Why are we still relying on pictures of typographical symbols? Let&#8217;s do it with the power of CSS!</p>
<p><a href="http://www.webmaster-source.com/static/demos/pure-css-blockquotes.php"><img style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter  wp-image-4605" title="Yep, this is 100% CSS-styled text...that I took a screenshot of. Not ironic at all. ;)" src="//www.webmaster-source.com/wp-content/uploads/2012/04/pure-css-blockquotes.png" alt="" width="614" height="249" /></a>Let&#8217;s start with some simple HTML. Before we can style anything, we need to create our blockquote. While we&#8217;re at it, a <code>cite</code> element is a nice, semantic way to attribute the quote to its originator.<span id="more-4604"></span></p>
<pre class="brush: xml; title: ; notranslate">
&lt;blockquote&gt;
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eget leo nunc, nec tempus mi? Curabitur id nisl mi, ut vulputate urna. Quisque porta facilisis tortor, vitae bibendum velit fringilla vitae! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eget leo nunc, nec tempus mi? Curabitur id nisl mi, ut vulputate urna. Quisque porta facilisis tortor, vitae bibendum velit fringilla vitae!
&lt;cite&gt;Somebody famous&lt;/cite&gt;
&lt;/blockquote&gt;
</pre>
<p>Now some CSS to provide some basic styling for the blockquote. Leaving the default browser style isn&#8217;t going to look great, so we&#8217;ll use a largish serif font with a little extra line spacing. And a slightly lighter color. Extra-dark grey adds a subtle variation from your main body text.</p>
<pre class="brush: css; title: ; notranslate">
blockquote {
font-family: Georgia, serif;
font-size: 18px;
font-style: italic;
width: 500px;
margin: 0.25em 0;
padding: 0.25em 40px;
line-height: 1.45;
position: relative;
color: #383838;
}
</pre>
<p>Now for the fun part: the giant quotation mark. The <code>:before</code> pseudo-element can be used to dynamically insert content before the text of the element, and style the content you insert. This is great for decorative text, like stylistic curly-quotes. The trick is to use an escaped hexadecimal representation of the desired character, and a little bit of fiddly positioning stuff to make it sit in the right position.</p>
<pre class="brush: css; title: ; notranslate">
blockquote:before {
display: block;
content: &quot;\201C&quot;;
font-size: 80px;
position: absolute;
left: -20px;
top: -20px;
color: #7a7a7a;
}
</pre>
<p>That&#8217;s the most difficult part. You may have to experiment with the size and positioning until it looks right, though. Once everything looks nice, you can apply the same technique to style the citation. Using the <code>:before</code> pseudo-element, you can insert an em dash and a space before the text.</p>
<pre class="brush: css; title: ; notranslate">
blockquote cite {
color: #999999;
font-size: 14px;
display: block;
margin-top: 5px;
}

blockquote cite:before {
content: &quot;\2014 \2009&quot;;
}
</pre>
<p>Easy, isn&#8217;t it? The effect should work in all modern browsers, and IE8. (IE8 will only process the pseudo-element if your document has a doctype declared, but you should have one of those already&#8230;) In browsers that don&#8217;t support it, the added content simply won&#8217;t appear, leaving the main text of the blockquote (and the citation) intact. The other styling will remain, of course, so it should still look good enough.</p>
<p>You can <a href="http://www.webmaster-source.com/static/demos/pure-css-blockquotes.php">see a live demo here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2012/04/24/pure-css-blockquote-styling/feed/</wfw:commentRss>
		<slash:comments>56</slash:comments>
		</item>
		<item>
		<title>How to Flip a Page Upside-Down with CSS</title>
		<link>https://www.webmaster-source.com/2012/04/03/how-to-flip-a-page-upside-down-with-css/</link>
		<comments>https://www.webmaster-source.com/2012/04/03/how-to-flip-a-page-upside-down-with-css/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 11:31:19 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[April 1st]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4583</guid>
		<description><![CDATA[For April Fool&#8217;s Day this year, I decided to do an amusing CSS trick instead of my usual fake news story. I turned the entire web site on its head, using a simple CSS3 attribute, and added a bit of JavaScript to jump down to the bottom (or top?) to complete the effect. The CSS [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>For April Fool&#8217;s Day this year, I decided to do an amusing CSS trick instead of my usual <a href="http://www.webmaster-source.com/tag/april-1st/">fake news story</a>. I turned the entire web site on its head, using a simple CSS3 attribute, and added a bit of JavaScript to jump down to the bottom (or top?) to complete the effect.</p>
<p style="text-align: center;"><img style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-full wp-image-4584 imgborder" title="Webmaster-Source on April 1st, 2012" src="//www.webmaster-source.com/wp-content/uploads/2012/04/upsidedown-april1st2012.jpg" alt="" width="600" height="276" /></p>
<p>The CSS is simple, though of course it won&#8217;t work for Internet Explorer, except for the very latest version.</p>
<pre class="brush: css; title: ; notranslate">
#flipdiv {
    width: 100%;
    height: 100%;
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
</pre>
<p>Now you want to wrap everything inside your <code>&lt;body&gt;</code> element with a new <code>&lt;div&gt;</code>. (You have to style the div instead of the body itself, as you get some weird box model issues otherwise.) It would look something like this:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;body&gt;
&lt;div id=&quot;flipdiv&quot;&gt;
...everything else...
&lt;/div&gt;
&lt;/body&gt;
</pre>
<p>If you want to automatically scroll down to the new top of the page, a.k.a. the bottom, you can use a little JavaScript snippet to bump it down.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
window.onload = scrollDownToTheTop;
function scrollDownToTheTop() {
window.scrollTo(0, document.body.scrollHeight);
}
&lt;/script&gt;
</pre>
<p>Silly, but not bad for an April Fool&#8217;s joke. <img src="https://www.webmaster-source.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /></p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2012/04/03/how-to-flip-a-page-upside-down-with-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS3 Gradients Are Simply Amazing</title>
		<link>https://www.webmaster-source.com/2011/11/24/css3-gradients-are-simply-amazing/</link>
		<comments>https://www.webmaster-source.com/2011/11/24/css3-gradients-are-simply-amazing/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 12:31:58 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4405</guid>
		<description><![CDATA[I&#8217;ve been working with CSS3 gradients a bit lately, and they&#8217;re the best thing in CSS since border-radius. It&#8217;s just so much easier to add a line of CSS and fiddle with a couple of color hex codes than to mess around in Photoshop until you get the perfect gradient, and then go through the [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been working with CSS3 gradients a bit lately, and they&#8217;re the best thing in CSS since <code>border-radius</code>. It&#8217;s just so much easier to add a line of CSS and fiddle with a couple of color hex codes than to mess around in Photoshop until you get the perfect gradient, and then go through the Save for Web dialog before setting it as a background image. They also work well with my preference to design things by playing around in a text editor, rather than mocking things up in Photoshop. (i.e. the <a href="http://37signals.com/svn/posts/1061-why-we-skip-photoshop">37signals philosophy</a>.)</p>
<p>CSS Gradients also add some additional versatility, in that they can stretch to fill dynamically-sized page elements, unlike tiling background images, which can of course only scale along one axis. (And it just seems to much less hacky than loading up a tiling image for a fairly simple effect. Pixel shims, anyone?)</p>
<p>I had held off using CSS gradients, since they were &#8220;a fancy new CSS feature unsupported by a lot of browsers,&#8221; until I recently realized that not only did all of the modern browsers support them, but many of the browsers were already supporting them without the vendor prefix. IE support is still iffy, only working properly in IE10, but what <em>does</em> Internet Exploder do right?</p>
<p>If you&#8217;re not already using CSS gradients, you should definitely read up on them. There&#8217;s <a href="http://css-tricks.com/5700-css3-gradients/">a good article</a> over at the venerable CSS-Tricks.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2011/11/24/css3-gradients-are-simply-amazing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The W3C Has Released the First Working Draft of CSS4</title>
		<link>https://www.webmaster-source.com/2011/10/07/the-w3c-has-released-to-first-working-draft-of-css4/</link>
		<comments>https://www.webmaster-source.com/2011/10/07/the-w3c-has-released-to-first-working-draft-of-css4/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 11:49:40 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[CSS4]]></category>
		<category><![CDATA[W3C]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4340</guid>
		<description><![CDATA[Yes, you read that properly. The W3C has released the first specs for CSS4. Now that most modern browsers are well on their way to supporting CSS3, the W3C is getting started on the next &#8220;layer&#8221; of CSS. The Selectors Level 4 document already has one feature that is unfortunately missing from CSS3: parent selectors. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Yes, you read that properly. The <a href="http://www.w3.org/">W3C</a> has <a href="http://www.w3.org/TR/2011/WD-selectors4-20110929/">released the first specs for CSS4</a>. Now that most modern browsers are well on their way to supporting CSS3, the W3C is getting started on the next &#8220;layer&#8221; of CSS.</p>
<p>The Selectors Level 4 document already has one feature that is unfortunately missing from CSS3: parent selectors. You will finally be able to do things like selecting all <code>a</code> elements that have an <code>img</code> element inside them, with this syntax: <code>$a &gt; img { ... }</code>.  The draft also mentions &#8220;nth-column&#8221; selectors, for styling all of the cells in a specific table column.</p>
<p>Of course, it&#8217;s probably going to be awhile until we start seeing browsers supporting this on a usable level.</p>
<p>Before anyone comments about the CSS3 spec not being &#8220;finished,&#8221; note that W3C specs are not prescriptive. They&#8217;re not &#8220;finished&#8221; until they&#8217;re pretty much supported by the major browsers, and changes have been made based on the implementation. A couple of the documents for CSS3, Selectors Level 3 and CSS Color Module Level 3, are already under the <a href="http://www.w3.org/standards/techs/css#w3c_all">Completed Work</a> section of their website.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2011/10/07/the-w3c-has-released-to-first-working-draft-of-css4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Create a Stylish Button Entirely with CSS3</title>
		<link>https://www.webmaster-source.com/2011/04/27/how-to-create-a-stylish-button-entirely-with-css3/</link>
		<comments>https://www.webmaster-source.com/2011/04/27/how-to-create-a-stylish-button-entirely-with-css3/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 11:17:27 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=4029</guid>
		<description><![CDATA[Web designers have been making dynamically-sized buttons using the &#8220;sliding doors&#8221; trick for awhile now, but isn&#8217;t that technique so 2003? Wouldn&#8217;t it be cooler to construct buttons using only CSS? Line25 has a fresh tutorial on How To Create a Stylish Button Entirely with CSS3. Next we can begin styling the button with a [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Web designers have been making dynamically-sized buttons using the <a href="http://www.alistapart.com/articles/slidingdoors/">&#8220;sliding doors&#8221;</a> trick for awhile now, but isn&#8217;t that technique so 2003? Wouldn&#8217;t it be cooler to construct buttons using only CSS?</p>
<p>Line25 has a fresh tutorial on <a href="http://line25.com/tutorials/how-to-create-a-stylish-button-entirely-with-css3">How To Create a Stylish Button Entirely with CSS3</a>.</p>
<blockquote><p>Next we can begin styling the button with a coloured background, this is  where CSS gradients come in handy. Two colour swatches are converted  into gradient syntax for both Mozilla and Webkit browsers using the  handy <a href="http://www.colorzilla.com/gradient-editor/">CSS Gradient Generator</a>, then a fallback option of a flat colour is added for non-supporting browsers.</p></blockquote>
<p>The tutorial only uses the -moz and -webkit gradient properties, but someone in the comments included ones for Opera, Internet Explorer 10 and the W3C&#8217;s proposed syntax for the actual CSS3 spec.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2011/04/27/how-to-create-a-stylish-button-entirely-with-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3 Multiple Backgrounds</title>
		<link>https://www.webmaster-source.com/2011/03/28/css3-multiple-backgrounds/</link>
		<comments>https://www.webmaster-source.com/2011/03/28/css3-multiple-backgrounds/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 11:09:47 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=3944</guid>
		<description><![CDATA[CSS3 has a nifty feature that I wasn&#8217;t aware of until recently: multiple backgrounds per element. This was something I used to wish for frequently before I got used to faking it by nesting DIVs and assigning them single backgrounds. Chris Coyier&#8217;s CSS-Tricks blog pointed this neat part of the spec out. The syntax is [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>CSS3 has a nifty feature that I wasn&#8217;t aware of until recently: multiple backgrounds per element. This was something I used to wish for frequently before I got used to faking it by nesting DIVs and assigning them single backgrounds. <a href="http://css-tricks.com/stacking-order-of-multiple-backgrounds/">Chris Coyier&#8217;s CSS-Tricks blog</a> pointed this neat part of the spec out.</p>
<blockquote><p>The syntax is easy, you just comma separate them. I find it&#8217;s easiest/best to use the <code>background</code> shorthand property so you can declare the position and repeating and  whatnot and keep them all grouped together. What isn&#8217;t obvious while  looking at the syntax is which image is on top in the vertical stacking  order when those images overlap. The <a href="http://www.w3.org/TR/css3-background/#the-background-image">spec is clear</a> in this regard and browser implimentations follow. The first is on top and they go down from there.</p></blockquote>
<p>The syntax looks something like this:</p>
<pre class="brush: css; title: ; notranslate">
/* Fallback for older browsers */
background: url(fallback.png) 0 0 no-repeat;

/* Multiple backgrounds! */
background:
url(top.png) 0 0 no-repeat,
url(middle.png) 100px 0 no-repeat,
url(tile.png);
</pre>
<p>Is that cool or what?</p>
<p>If having missing images just isn&#8217;t acceptable for your site, you can use a little &#8220;hack&#8221; to load a fallback background. Placing the first background property seen in the above code snippet will allow for graceful degradation, as older browsers will simply ignore the newer version of the background declaration. It has the disadvantage of loading it <em>anyway</em> with newer browsers, though. I think a better option is using the single-property for design-critical images that need to load in any browser and using the other for progressively enhancing elements.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2011/03/28/css3-multiple-backgrounds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3 Rounded Corners</title>
		<link>https://www.webmaster-source.com/2010/01/14/css3-rounded-corners/</link>
		<comments>https://www.webmaster-source.com/2010/01/14/css3-rounded-corners/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 11:35:49 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[W]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2901</guid>
		<description><![CDATA[Want to round the corners of an element without messing around with images and tricky CSS? You can do it with pure CSS, but, of course, it won&#8217;t work in Internet Explorer. (Or Opera, for that matter.) Fortunately, the effect devolves gracefully. As an example, to round the corners of a button by 6px: The [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Want to round the corners of an element without messing around with images and tricky CSS? You can do it with pure CSS, but, of course, it won&#8217;t work in Internet Explorer. (Or Opera, for that matter.) Fortunately, the effect devolves gracefully.</p>
<p>As an example, to round the corners of a button by 6px:</p>
<pre class="brush: css; title: ; notranslate">
#myButton {
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}
</pre>
<p>The first property is for Firefox and other Mozilla browsers, the second is for WebKit browsers like Safari and Chrome, and the third is for future browsers that actually support the official property that will be part of the CSS3 standard. (IE9, oddly enough, is rumored to eventually support this.)</p>
<p>Need to round just one corner?</p>
<pre class="brush: css; title: ; notranslate">
-moz-border-radius-topleft: 6px;
-webkit-border-top-left-radius: 6px;
border-top-left-radius: 6px;
</pre>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2010/01/14/css3-rounded-corners/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The CSS3 &#8220;Super-Awesome Button&#8221;</title>
		<link>https://www.webmaster-source.com/2009/12/10/the-css3-super-awesome-button/</link>
		<comments>https://www.webmaster-source.com/2009/12/10/the-css3-super-awesome-button/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 11:16:40 +0000</pubDate>
		<dc:creator><![CDATA[Matt]]></dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://www.webmaster-source.com/?p=2804</guid>
		<description><![CDATA[Tired of messing around with image files to create tasteful (and expandable) button graphics? Why don&#8217;t you just use some CSS3 techniques to build them on the fly? Smashing Magazine&#8217;s Pushing Your Buttons With Practical CSS3 describes how to use box-shadow, text-shadow, and border-radius to create buttons out of pure CSS. Then they take things [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Tired of messing around with image files to create tasteful (and expandable) button graphics? Why don&#8217;t you just use some CSS3 techniques to build them on the fly? Smashing Magazine&#8217;s <a href="http://www.smashingmagazine.com/2009/12/02/pushing-your-buttons-with-practical-css3/">Pushing Your Buttons With Practical CSS3</a> describes how to use box-shadow, text-shadow, and border-radius to create buttons out of pure CSS. Then they take things a little further with some animated WebKit glow effects.</p>
<p>Oh, and the article also shows how to create the custom buttons that Google uses for WebKit browsers.</p>
<p><a href="http://www.smashingmagazine.com/2009/12/02/pushing-your-buttons-with-practical-css3/"><img style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-full wp-image-2806" title="Smashing Magazine's CSS3 Buttons" src="//www.webmaster-source.com/wp-content/uploads/smashing-css3-buttons-1.jpg" alt="Smashing Magazine's CSS3 Buttons" width="480" height="167" /></a></p>
<p>What would be do without Smashing Magazine? <img src="https://www.webmaster-source.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /></p>
]]></content:encoded>
			<wfw:commentRss>https://www.webmaster-source.com/2009/12/10/the-css3-super-awesome-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/


Served from: www.webmaster-source.com @ 2026-04-29 11:32:23 by W3 Total Cache
-->