<?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>Graphic Maniacs &#187; CSS</title>
	<atom:link href="http://graphicmaniacs.com/cat/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://graphicmaniacs.com</link>
	<description></description>
	<lastBuildDate>Wed, 18 Jan 2012 13:08:40 +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>IE and crooked font when opacity applied bug</title>
		<link>http://graphicmaniacs.com/note/ie-and-crooked-font-when-opacity-applied-bug/</link>
		<comments>http://graphicmaniacs.com/note/ie-and-crooked-font-when-opacity-applied-bug/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 11:20:04 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://graphicmaniacs.com/?p=675</guid>
		<description><![CDATA[This becomes a real problem in IE sometimes. Simple example goes here with some simple rules: .alpha &#123; opacity: 0.7; filter: alpha&#40;strength=70&#41; &#125; Preview: .test-alpha { margin-bottom: 10px; color: black; font: bold 14px Arial; padding: 10px; border: 1px dotted #777; border-width: 1px 0; opacity: 0.7; filter: alpha(strength=70) } I&#8217;m a simple text here You will [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://graphicmaniacs.com/note/ie-and-crooked-font-when-opacity-applied-bug/' addthis:title='IE and crooked font when opacity applied bug '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>This becomes a real problem in IE sometimes. Simple example goes here with some simple rules:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.alpha</span> <span style="color: #00AA00;">&#123;</span> opacity<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0.7</span><span style="color: #00AA00;">;</span> filter<span style="color: #00AA00;">:</span> alpha<span style="color: #00AA00;">&#40;</span>strength<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">70</span><span style="color: #00AA00;">&#41;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Preview:</p>
<style type='text/css'>
.test-alpha { margin-bottom: 10px; color: black; font: bold 14px Arial; padding: 10px;  border: 1px dotted #777; border-width: 1px 0; opacity: 0.7; filter: alpha(strength=70) }
</style>
<div class='test-alpha'>I&#8217;m a simple text here</div>
<p>You will notice crippled text in IE. To avoid this, simply apply a solid background to the element with opacity:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.alpha</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;">white</span><span style="color: #00AA00;">;</span> opacity<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0.7</span><span style="color: #00AA00;">;</span> filter<span style="color: #00AA00;">:</span> alpha<span style="color: #00AA00;">&#40;</span>strength<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">70</span><span style="color: #00AA00;">&#41;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Preview:</p>
<style type='text/css'>
.test-alpha2 { margin-bottom: 10px; background: white; color: black; font: bold 14px Arial; padding: 10px;  border: 1px dotted #777; border-width: 1px 0; opacity: 0.7; filter: alpha(strength=70) }
</style>
<div class='test-alpha2'>I&#8217;m a simple text here</div>
<h4>This page can be found by searching for:</h4><div class='search-terms'><span>ie7 alpha opacity font bug</span><span>ie8 opacity bug</span><span>ie8 opacity font</span><span>ie8 opacity font display</span><span>javascript opacity font</span><span>javascript opacity problem in ie with text</span><span>jquery opacity ie8</span><span>opacity font IE problem</span><span>opacity font problem ie</span><span>opacity ie7 font issue</span></div><br /><br /><div class="addthis_toolbox addthis_default_style " addthis:url='http://graphicmaniacs.com/note/ie-and-crooked-font-when-opacity-applied-bug/' addthis:title='IE and crooked font when opacity applied bug '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://graphicmaniacs.com/note/ie-and-crooked-font-when-opacity-applied-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove outlines when focused in Chrome</title>
		<link>http://graphicmaniacs.com/note/how-to-remove-outlines-when-focused-in-chrome/</link>
		<comments>http://graphicmaniacs.com/note/how-to-remove-outlines-when-focused-in-chrome/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 19:39:52 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://graphicmaniacs.com/?p=671</guid>
		<description><![CDATA[The effect they made in Chrome is very cute, but sometimes it&#8217;s not where we need it. So, to remove it, simply place an override on your inputs or other elements in css: input:focus &#123; outline: none &#125; That will make all inputs lose the yellow glow on focus This page can be found by [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://graphicmaniacs.com/note/how-to-remove-outlines-when-focused-in-chrome/' addthis:title='How to remove outlines when focused in Chrome '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>The effect they made in Chrome is very cute, but sometimes it&#8217;s not where we need it. So, to remove it, simply place an override on your inputs or other elements in css:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">input<span style="color: #3333ff;">:focus </span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>That will make all inputs lose the yellow glow on focus</p>
<h4>This page can be found by searching for:</h4><div class='search-terms'><span>google chrome focus glow</span><span>retirar glow de input</span><span>chrome input focus</span><span>input field focus outline android css</span><span>input border -webkit-appearance:none; android focus remove</span><span>html form remove focus glow</span><span>how to remove google glow</span><span>tirar glow dos inputs chrome</span><span>how to disable outline of inputs in chrom</span><span>how removed border input in google chrome ?</span></div><br /><br /><div class="addthis_toolbox addthis_default_style " addthis:url='http://graphicmaniacs.com/note/how-to-remove-outlines-when-focused-in-chrome/' addthis:title='How to remove outlines when focused in Chrome '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://graphicmaniacs.com/note/how-to-remove-outlines-when-focused-in-chrome/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS3 @font-face: no more flash</title>
		<link>http://graphicmaniacs.com/note/css3-font-face-no-more-flash/</link>
		<comments>http://graphicmaniacs.com/note/css3-font-face-no-more-flash/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 14:04:01 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://graphicmaniacs.com/?p=552</guid>
		<description><![CDATA[Time to move away from sIFR, cufon and all that strange stuff. Let&#8217;s start from W3C description of @font-face. As you may see, the form of the rule is as follows: @font-face { &#60;font-description&#62; } Now, let&#8217;s see what the &#60;font-description&#62; is. Basically it&#8217;s a font-family descriptor followed by the src descriptor, so the next [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://graphicmaniacs.com/note/css3-font-face-no-more-flash/' addthis:title='CSS3 @font-face: no more flash '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Time to move away from sIFR, cufon and all that strange stuff. Let&#8217;s start from <a href="http://www.w3.org/TR/css3-fonts/#the-font-face-rule">W3C description</a> of @font-face. As you may see, the form of the rule is as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #a1a100;">@font-face { &lt;font-description&gt; }</span></pre></div></div>

<p>Now, let&#8217;s see what the &lt;font-description&gt; is. Basically it&#8217;s a <em>font-family</em> descriptor followed by the <em>src</em> descriptor, so the next rule should be valid:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #a1a100;">@font-face {</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'HelveticaRegular'</span><span style="color: #00AA00;">;</span>
	src<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'helvetica.ttf'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Additionally, we can specify a font-weight and font-style of this font-family. Like this:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #a1a100;">@font-face {</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'HelveticaRegular'</span><span style="color: #00AA00;">;</span>
	src<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'helvetica.ttf'</span><span style="color: #00AA00;">&#41;</span> format<span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'truetype'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.myclass</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'HelveticaRegular'</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Now, all elements with font-family <em>HelveticaRegular</em> will be non-italic and normal weight by default. Now, let&#8217;s see what the browsers say&#8230;</p>
<h3>Internet Explorer</h3>
<p>Yes yes, him again. But, it&#8217;s no that bad as you might think. It does support the @font-face for 10 years already, but with one small difference: it doesn&#8217;t support TrueType fonts (ttf) but it supports Embedded OpenType (eot).</p>
<p>So, what we need is to convert TTF to EOT and put it in css like this:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #a1a100;">@font-face {</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'HelveticaRegular'</span><span style="color: #00AA00;">;</span>
	src<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'helvetica.eot'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	src<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'helvetica.ttf'</span><span style="color: #00AA00;">&#41;</span> format<span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'truetype'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<h3>Gecko and WebKit</h3>
<p>These guys support TrueType and OpenType fonts (TTF and OTF, not EOT), and Gecko since 3.6 supports the WOFF format (Web Open Font Format). So basically, all you need is the same TrueType font.</p>
<h3>Opera</h3>
<p>Since 10.0 Opera supports TrueType and OpenType fonts too. The earlier 9.0+ versions supported SVG format, which is still supported by the newest too.</p>
<h3>Mobile?</h3>
<p>Luckily, iPhones and iPads support one format too &#8211; the SVG.</p>
<p>So we have 4 formats here: TTF, EOT, OTF and WOFF. Let&#8217;s find out how to get those.</p>
<h3>Getting all that bundle..</h3>
<p>First, let&#8217;s get the font we liked. I recommend going to <a href="http://www.fontex.org/">fontex.org</a> or <a href="http://www.dafont.com/">dafont.com</a> </p>
<p>Another great service is <a href="http://www.fontsquirrel.com/fontface/generator">FontSquirrel&#8217;s font-face generator</a>. Simply upload a font and get a ready bundle for all the browsers. You&#8217;ll get a pack with ready CSS, all the formats generated and a demo page</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;style<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
@font-face {
	font-family: 'newfacebookRegular';
	src: url('/projects/fonts/opnew_facebok-webfont.eot');
	src: url('/projects/fonts/new_facebok-webfont.woff') format('woff'), url('/projects/fonts/new_facebok-webfont.ttf') format('truetype'), url('/projects/fonts/new_facebok-webfont.svg#webfontB4W84jfk') format('svg');
	font-weight: normal;
	font-style: normal;
}
.newfacebookRegular {
	font-family: 'newfacebookRegular';
}
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/style<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;span</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">'newfacebookRegular'</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Now let's check if you see the custom font here<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/span<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<style>
@font-face {
	font-family: 'newfacebookRegular';
	src: url('/projects/fonts/opnew_facebok-webfont.eot');
	src: url('/projects/fonts/new_facebok-webfont.woff') format('woff'), url('/projects/fonts/new_facebok-webfont.ttf') format('truetype'), url('/projects/fonts/new_facebok-webfont.svg#webfontB4W84jfk') format('svg');
	font-weight: normal;
	font-style: normal;
}
.newfacebookRegular {
	font-family: 'newfacebookRegular';
	font-size: 68px;
	line-height: 34px
}
</style>
<p><span class='newfacebookRegular'>Now let&#8217;s check if you see the custom font here</span> </p>
<h4>This page can be found by searching for:</h4><div class='search-terms'><span>helvetica eot</span><span>new_facebok eot</span><span>helvetica en eot</span><span>font-face flash chrome</span><span>font face flash</span><span>helvetica font eot</span><span>graphic styl font in flash</span><span>HELVETI eot</span><span>Helvetica</span><span>buy css3 font-face helvetica pack</span></div><br /><br /><div class="addthis_toolbox addthis_default_style " addthis:url='http://graphicmaniacs.com/note/css3-font-face-no-more-flash/' addthis:title='CSS3 @font-face: no more flash '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://graphicmaniacs.com/note/css3-font-face-no-more-flash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Q tag and Internet Explorer</title>
		<link>http://graphicmaniacs.com/note/q-tag-and-internet-explorer/</link>
		<comments>http://graphicmaniacs.com/note/q-tag-and-internet-explorer/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 11:51:04 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://graphicmaniacs.com/?p=543</guid>
		<description><![CDATA[You&#8217;ve probably ignored the Q tag before. Why? That is the question we all have one answer for&#8230; Because of Internet Explorer. Yes, yes, it doesn&#8217;t render it how it should (no quotes on sides). But it can product a nice result when you need to quote the sentence or quote the person&#8217;s speech. This [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://graphicmaniacs.com/note/q-tag-and-internet-explorer/' addthis:title='Q tag and Internet Explorer '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve probably ignored the Q tag before. Why? That is the question we all have one answer for&#8230; Because of Internet Explorer. Yes, yes, it doesn&#8217;t render it how it should (no quotes on sides).<br />
But it can product a nice result when you need to quote the sentence or quote the person&#8217;s speech.</p>
<p>This is how it looks in your browser:<br />
Confucius says: <q>Everything has its beauty but not everyone sees it.</q></p>
<p>Nothing special, so, let&#8217;s add a style for all browsers:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">q<span style="color: #3333ff;">:before</span><span style="color: #00AA00;">,</span> q<span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</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;">&#125;</span></pre></div></div>

<p>Now, all the Q&#8217;uotes display the same in all browsers (IE and normal browsers). So, to add quotes, we&#8217;ll add them ourselves and stylize the quote as we wish. I&#8217;m reminding that there are special html entities for curled quotes: accronym to Left Double Quote &#8211; <strong>&amp;ldquo;</strong> and Right Double Quote &#8211; <strong>&amp;rdquo;</strong></p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">Confucius says: <span style="color: #ddbb00;">&amp;ldquo;</span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;q<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Everything has its beauty but not everyone sees it.<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/q<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><span style="color: #ddbb00;">&amp;rdquo;</span></pre></div></div>

<p>Next, let&#8217;s italize the quote:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">q <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">italic</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<style type='text/css'>
q:before, q:after { content: "" }
q { font-style: italic }
</style>
<p>Confucius says: &ldquo;<q>Everything has its beauty but not everyone sees it.</q>&rdquo;</p>
<p>Good? Good.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://graphicmaniacs.com/note/q-tag-and-internet-explorer/' addthis:title='Q tag and Internet Explorer '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://graphicmaniacs.com/note/q-tag-and-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS3 cross-browser box-shadow</title>
		<link>http://graphicmaniacs.com/note/css3-cross-browser-box-shadow/</link>
		<comments>http://graphicmaniacs.com/note/css3-cross-browser-box-shadow/#comments</comments>
		<pubDate>Sun, 05 Sep 2010 00:43:06 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://graphicmaniacs.com/?p=469</guid>
		<description><![CDATA[Time goes by and, finally, it&#8217;s time to use CSS3. The more you use it, the quicker it becomes a standard. Now, we&#8217;ll take a look at the box-shadow property, it&#8217;s not a standard yet, but will be soon so take a look at the next code: &#60;style type='text/css'&#62; .box-shadow { margin: 10px auto; width: [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://graphicmaniacs.com/note/css3-cross-browser-box-shadow/' addthis:title='CSS3 cross-browser box-shadow '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Time goes by and, finally, it&#8217;s time to use CSS3. The more you use it, the quicker it becomes a standard.<br />
Now, we&#8217;ll take a look at the box-shadow property, it&#8217;s not a standard yet, but will be soon so take a look at the next code:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;style</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">'text/css'</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
.box-shadow {
	margin: 10px auto;
	width: 300px;
	padding: 10px;
	font-family: Arial;
	text-align: center;
	border: 1px solid #5bc5c6;
	background: #e8ffff;
	box-shadow: 0 0 8px #006a6b;
	-webkit-box-shadow: 0 0 8px #006a6b;
	-moz-box-shadow: 0 0 8px #006a6b;
	-khtml-box-shadow: 0 0 8px #006a6b;
	-o-box-shadow: 0 0 8px #006a6b;
	-icab-box-shadow: 0 0 8px #006a6b;
}
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/style<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">'box-shadow'</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h2<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>CSS3 box-shadow<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h2<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Most modern browsers will display the shadow here nicely. If not, it's time to update your browser<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Looking at the following box, you&#8217;ll notice what the arguments of box-shadow mean:</p>
<style type='text/css'>
.box-shadow {
	margin: 10px auto;
	width: 300px;
	padding: 10px;
	font-family: Arial;
	text-align: center;
	border: 1px solid #5bc5c6;
	background: #e8ffff;
	box-shadow: 0 0 8px #006a6b;
	-webkit-box-shadow: 0 0 8px #006a6b;
	-moz-box-shadow: 0 0 8px #006a6b;
	-khtml-box-shadow: 0 0 8px #006a6b;
	-o-box-shadow: 0 0 8px #006a6b;
	-icab-box-shadow: 0 0 8px #006a6b;
}
.box-shadow h2 {
	margin: auto;
	background: none;
	border: 0;
}
</style>
<div class='box-shadow'>
<h2>CSS3 box-shadow</h2>
<p>Most modern browsers will display the shadow here nicely. If not, it&#8217;s time to update your browser</p>
</div>
<p>First argument is the left to right offset of the shadow, second argument is the top to bottom offset of the shadow, third one is the shadow width and the last one is the color of the shadow.</p>
<p>Don&#8217;t forget to put all the box-shadow variants to be sure all the users can see the shadow.</p>
<h4>This page can be found by searching for:</h4><div class='search-terms'><span>cross browser box shadow</span><span>box shadow android</span><span>android box-shadow</span><span>box-shadow android</span><span>android box shadow</span><span>android browser box shadow</span><span>android browser box-shadow</span><span>icab-box-shadow</span><span>explaining the box shadow argument</span><span>css3 box shadow cross browser</span></div><br /><br /><div class="addthis_toolbox addthis_default_style " addthis:url='http://graphicmaniacs.com/note/css3-cross-browser-box-shadow/' addthis:title='CSS3 cross-browser box-shadow '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://graphicmaniacs.com/note/css3-cross-browser-box-shadow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

