<?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>Superdit.com &#187; icon</title>
	<atom:link href="http://superdit.com/tag/icon/feed/" rel="self" type="application/rss+xml" />
	<link>http://superdit.com</link>
	<description>blogging, design, tech, and web</description>
	<lastBuildDate>Sat, 31 Mar 2012 20:40:33 +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>Create Google Plus Icon Using CSS</title>
		<link>http://superdit.com/2011/12/06/create-google-plus-icon-using-css/</link>
		<comments>http://superdit.com/2011/12/06/create-google-plus-icon-using-css/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 10:14:43 +0000</pubDate>
		<dc:creator>aditia rahman</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[gplus]]></category>
		<category><![CDATA[icon]]></category>

		<guid isPermaLink="false">http://superdit.com/?p=9435</guid>
		<description><![CDATA[Google are very well known with the colorful logo, reb, blue, green, and yellow, today post, let&#8217;s play some quick CSS code to create some google plus icons. Let&#8217;s create with a div element with static size, this code below is the css code for the first icon, and for the background you can generate<a href="http://superdit.com/2011/12/06/create-google-plus-icon-using-css/" class="read-more">Continue Reading</a>]]></description>
			<content:encoded><![CDATA[<p>Google are very well known with the colorful logo, reb, blue, green, and yellow, today post, let&#8217;s play some quick CSS code to create some google plus icons.</p>
<p><a title="Create Google Plus Icon Using CSS" href="http://superdit.com/2011/12/06/create-google-plus-icon-using-css/"><img class="alignnone size-full wp-image-9439" title="css google plus" src="http://superdit.com/wp-content/uploads/2011/12/css-google-plus-thumb.jpg" alt="css google plus" width="550" height="250" /></a></p>
<p>Let&#8217;s create with a div element with static size, this code below is the css code for the first icon, and for the background you can generate it from <a title="Colorzilla Gradient Editor" href="http://www.colorzilla.com/gradient-editor/" target="_blank">colorzilla gradient editor</a>, (really great tool, saving much time) I didn&#8217;t show here cause I think to long for css gradient code.<span id="more-9435"></span></p>
<pre class="brush: css; title: ; notranslate">
.icon {
    width: 80px;
    float: left;
    margin-right: 30px;
    -moz-box-shadow: 1px 1px 2px #999;
    -webkit-box-shadow: 1px 1px 2px #999;
    box-shadow: 1px 1px 2px #999;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

.colorblock {
    width: 20px;
    height: 12px;
    float: left;
}

.r { /* red gradient */ }
.b { /* blue gradient */ }
.g { /* green gradient */ }
.y { /* yellow gradient */ }

.red {
    -webkit-border-radius: 7px 0 0 0;
    -moz-border-radius: 7px 0 0 0;
    border-radius: 7px 0 0 0;
}

.yellow {
    -webkit-border-radius: 0 7px 0 0;
    -moz-border-radius: 0 7px 0 0;
    border-radius: 0 7px 0 0;
}

.text {
    text-shadow: 1px 1px 1px #a3a3a3;
    clear: both;
    width: 80px;
    font-size: 48px;
    padding: 0 0 18px 0;
    color: #fff;
    text-align: center;
    -webkit-border-radius: 0 0 7px 7px;
    -moz-border-radius: 0 0 7px 7px;
    border-radius: 0 0 7px 7px;
    /* radial gradient background */
}

.littleplus {
    font-size: 28px;
    font-weight: bold;
    position: relative;
    top: -4px;
}
</pre>
<p>The first icon is the &#8220;g+&#8221; icon with the colorful div block on the top, that floating to left using css, for more variation from this icon I created the one with background, and the other two is with the big plus logo, in dark and light background.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;icon&quot;&gt;
    &lt;div class=&quot;colorblock red r&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;colorblock b&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;colorblock g&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;colorblock yellow y&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;text&quot;&gt;g&lt;span class=&quot;littleplus&quot;&gt; +&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>Now for the second icon style, is the icon with the colorful background color, with the big plus in center, this one with other three variation too, with the rounded corner that make the icons look like a circle, you can see all on the demo section.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;icon ico2&quot;&gt;
    &lt;div class=&quot;r icoblock topleft&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;g icoblock topright&quot;&gt;&lt;/div&gt;

    &lt;div style=&quot;clear:both;&quot;&gt;&lt;/div&gt;

    &lt;div class=&quot;b icoblock bottomleft&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;y icoblock bottomright&quot;&gt;&lt;/div&gt;

    &lt;div style=&quot;clear:both;&quot;&gt;&lt;/div&gt;

    &lt;div class=&quot;textpluslight ico2text&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
<p style="text-align: left;">For complete code you can see on the demo page and view the page source, I mix the html and the css code, so it can easier to read.</p>
<h6 style="text-align: center;"><a href="http://demo.superdit.com/css/gplus/" target="_blank">Demo</a></h6>
<p style="text-align: center;"><a title="CSS Google Plus Icon Demo" href="http://demo.superdit.com/css/gplus/" target="_blank"><img class="size-full wp-image-9446 aligncenter" title="css google plus" src="http://superdit.com/wp-content/uploads/2011/12/css-google-plus.jpg" alt="css google plus" width="508" height="240" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://superdit.com/2011/12/06/create-google-plus-icon-using-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

