<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5646817156086293899</atom:id><lastBuildDate>Wed, 11 Sep 2024 20:08:28 +0000</lastBuildDate><title>INNOVATION</title><description>&amp;lt;$BlogDescription$&amp;gt;</description><link>http://myglobeweb.blogspot.com/</link><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><generator>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5646817156086293899.post-4393187840407775826</guid><pubDate>Sat, 27 Apr 2013 10:02:00 +0000</pubDate><atom:updated>2015-07-30T05:29:18.161-07:00</atom:updated><title>Cross Browser Compatible Pure CSS 2 Text Effect</title><description>&lt;p&gt;We can not think to web design without CSS. Here I will demonstrate some text effect with CSS2.
&lt;/p&gt;
&lt;h1&gt;Multi Colored Text&lt;/h1&gt;&lt;br /&gt;
&lt;div id=&quot;container1&quot;&gt;
WELCOME
&lt;div id=&quot;inner1&quot;&gt;
WELCOME
&lt;/div&gt;
&lt;/div&gt;
&lt;h4&gt;Description:&lt;/h4&gt;
&lt;p style=&quot;text-align:justify;&quot;&gt;
CSS property &quot;overflow&quot; and value &quot;hidden&quot; are the main technique of multi colored text. When we
keep a text inside a div and we set the height &amp; width of the div in such way that a portion of text goes outside of the
div region. And if the div property and value is &quot;overflow: hidden;&quot; then the extended part of text over
the div region will be hidden. If we want to make black color half of a text and rest half in red color then
we have to overlap a div on another (The text of div and CSS text effect will be similar of two divs, only text color
will be different). In example we will keep text color black in upper div and red in lower div.
Then we set upper div region in such way that half of the text will stay outside of the div region and the css
property &quot;overflow:hidden;&quot; will be add to the upper div style, ok done.
&lt;/p&gt;
&lt;h4&gt;CSS Code:&lt;/h4&gt;
&lt;pre&gt;
#container1 {
position:relative;
margin:0px;
padding:0px;
border:0px;
width:200px;
height:45px;
font-size:36px;
color:red;
}
#inner1 {
position:absolute;
top:0px;
left:0px;
margin:0px;
padding:0px;
border:0px;
width:200px;
height:23px;
font-size:36px;
color:black;
overflow:hidden;
}
&lt;/pre&gt;
&lt;h4&gt;HTML Code:&lt;/h4&gt;
&lt;pre&gt;
&amp;lt;div id=&quot;container1&quot;&amp;gt;&lt;br /&gt;
WELCOME&lt;br /&gt;
&amp;lt;div id=&quot;inner1&quot;&amp;gt;&lt;br /&gt;
WELCOME&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;h1&gt;Text Shadow Effect&lt;/h1&gt;&lt;br /&gt;
&lt;div id=&quot;container2&quot;&gt;
WELCOME
&lt;div id=&quot;inner2&quot;&gt;
WELCOME
&lt;/div&gt;
&lt;/div&gt;
&lt;h4&gt;Description:&lt;/h4&gt;
&lt;p style=&quot;text-align:justify;&quot;&gt;
To get shadow effect of text, we will overlap a div on another, in such way that the text of div and CSS text effect will be similar of two divs and
the height and width of two divs will be same also, only text color will be different. As we will create shadow effect of text so, lower
div text color will black and upper div text color may be anything except black. With respect to shadow
side and size, we will use CSS property &quot;padding&quot; of upper div.
&lt;/p&gt;
&lt;br /&gt;
&lt;h4&gt;CSS Code:&lt;/h4&gt;
&lt;pre&gt;
#container2 {
position:relative;
margin:0px;
padding:0px;
border:0px;
width:200px;
height:45px;
font-size:36px;
color:black;
}
#inner2 {
position:absolute;
top:0px;
left:0px;
margin:0px;
padding:0px;
padding-left:4px;
border:0px;
width:200px;
height:45px;
font-size:36px;
color:red;
}
&lt;/pre&gt;
&lt;h4&gt;HTML Code:&lt;/h4&gt;
&lt;pre&gt;
&amp;lt;div id=&quot;container2&quot;&amp;gt;&lt;br /&gt;
WELCOME&lt;br /&gt;
&amp;lt;div id=&quot;inner2&quot;&amp;gt;&lt;br /&gt;
WELCOME&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;h1&gt;Text Embossed Effect&lt;/h1&gt;&lt;br /&gt;
&lt;div id=&quot;container3&quot;&gt;
WELCOME
&lt;div id=&quot;inner3&quot;&gt;
WELCOME
&lt;/div&gt;
&lt;/div&gt;
&lt;h4&gt;Description:&lt;/h4&gt;
&lt;p style=&quot;text-align:justify;&quot;&gt;
The technique of emboss effect of text is similar of shadow effect. The different is, you have to play
in color combination.
&lt;/p&gt;
&lt;br /&gt;
&lt;h4&gt;CSS Code:&lt;/h4&gt;
&lt;pre&gt;
#container3 {
position:relative;
margin:0px;
padding:0px;
border:0px;
width:200px;
height:45px;
font-size:36px;
font-weight:bold;
color:#ffffff;
background-color:#b4b4b4;
}
#inner3 {
position:absolute;
top:0px;
left:0px;
margin:0px;
padding:0px;
margin-top:-1px;
border:0px;
width:200px;
height:45px;
font-weight:bold;
font-size:36px;
color:#000000;
}
&lt;/pre&gt;
&lt;h4&gt;HTML Code:&lt;/h4&gt;
&lt;pre&gt;
&amp;lt;div id=&quot;container3&quot;&amp;gt;&lt;br /&gt;
WELCOME&lt;br /&gt;
&amp;lt;div id=&quot;inner3&quot;&amp;gt;&lt;br /&gt;
WELCOME&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;h4&gt;Please Comment It and Share It&lt;/h4&gt;</description><link>http://myglobeweb.blogspot.com/2013/04/cross-browser-compatible-pure-css-2.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item></channel></rss>