-
Showing posts with label Css. Show all posts
Showing posts with label Css. Show all posts

9 March 2013

CSS gradient buttons

VM | 3:04 pm | | Be the first to comment!
R
ecently I talked about CSS cross-browser gradients and last week I wrote again about CSS3 gradients. So what I’m going to do today? I will show you how to put the CSS gradient feature in practical use.
In this article you will see how you can create a set of gradient buttons just with CSS (no images).





1. Log in to blogger account and Click drop down.




2. Now select "Template" Like Below.



3. Now you can see Live on blog, Click EDIT HTML Button"

4. Now click Proceed button.
   
5. Find this tag by using Ctrl+F    ]]></b:skin>

6. Paste below code Before ]]></b:skin> tag

/*----------------------------*/              
 .button        {           
 margin: 10px;          
 text-decoration: none; 
 font: bold 1.5em 'Trebuchet MS',Arial, Helvetica;

 /*Change the em value to scale the button*/        
 display: inline-block;           
 text-align: center;          
 color: #fff;                      
 border: 1px solid #9c9c9c;

 /* Fallback style */       
 border: 1px solid rgba(0, 0, 0, 0.3);   
 text-shadow: 0 1px 0 rgba(0,0,0,0.4);       
 box-shadow: 0 0 .05em rgba(0,0,0,0.4);         
 -moz-box-shadow: 0 0 .05em rgba(0,0,0,0.4);   
 -webkit-box-shadow: 0 0 .05em rgba(0,0,0,0.4);                 
 }             
 .button, .button span       
 {           
 -moz-border-radius: .3em;      
 border-radius: .3em;     
 }              
 .button span      
 {           
 border-top: 1px solid #fff;
 /* Fallback style */          
 border-top: 1px solid rgba(255, 255, 255, 0.5);        
 display: block;            padding: 0.5em 2.5em;        
 /* The background pattern */                      
 background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, rgba(0, 0, 0, 0.05)), color-stop(.25, transparent), to(transparent)),     
 -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(0, 0, 0, 0.05)), color-stop(.25, transparent), to(transparent)),                           
 -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.75, transparent), color-stop(.75, rgba(0, 0, 0, 0.05))),                            
 -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.75, transparent), color-stop(.75, rgba(0, 0, 0, 0.05)));          
 background-image: -moz-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent),                     
 -moz-linear-gradient(-45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent),                            
 -moz-linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.05) 75%),                           
 -moz-linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.05) 75%);         

 /* Pattern settings */                     
 -moz-background-size: 3px 3px;      
 -webkit-background-size: 3px 3px;    
 background-size: 3px 3px;               
 }       

 .button:hover    
 {          
 box-shadow: 0 0 .1em rgba(0,0,0,0.4);    
 -moz-box-shadow: 0 0 .1em rgba(0,0,0,0.4); 
 -webkit-box-shadow: 0 0 .1em rgba(0,0,0,0.4);    
 }              

 .button:active      
 {          
 /* When pressed, move it down 1px */   
 position: relative;        
 top: 1px;     
 }
              
 /*----------------------------*/    
 .button-khaki     
 {          
 background: #A2B598;      
 background: -webkit-gradient(linear, left top, left bottom, from(#BDD1B4), to(#A2B598) );       
 background:-moz-linear-gradient(-90deg, #BDD1B4, #A2B598);         
 filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#BDD1B4', EndColorStr='#A2B598');             
 }               
 .button-khaki:hover   
 {                  
 background: #BDD1B4;  
 background: -webkit-gradient(linear, left top, left bottom, from(#A2B598), to(#BDD1B4) );   
 background: -moz-linear-gradient(-90deg, #A2B598, #BDD1B4);          
 filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#A2B598', EndColorStr='#BDD1B4');    
 }             
 .button-khaki:active      
 {          
 background: #A2B598;   
 }    

 /*----------------------------*/         
 .button-blue      
 {          
 background: #4477a1; 
 background: -webkit-gradient(linear, left top, left bottom, from(#81a8cb), to(#4477a1) );  
 background: -moz-linear-gradient(-90deg, #81a8cb, #4477a1);         
 filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#81a8cb', endColorstr='#4477a1');      
 }              
 .button-blue:hover     
 {           
 background: #81a8cb; 
 background: -webkit-gradient(linear, left top, left bottom, from(#4477a1), to(#81a8cb) );      
 background: -moz-linear-gradient(-90deg, #4477a1, #81a8cb);      
 filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4477a1', endColorstr='#81a8cb');     
 }               
 .button-blue:active     
 {         
 background: #4477a1;  
 }
              
 /*----------------------------*/   
 .button-brown    
 {        
 background: #8f3714;       
 background: -webkit-gradient(linear, left top, left bottom, from(#bf6f50), to(#8f3714) );      
 background: -moz-linear-gradient(-90deg, #bf6f50, #8f3714);          
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#bf6f50', EndColorStr='#8f3714');    
 }              
 .button-brown:hover 
 {           
 background: #bf6f50;         
 background: -webkit-gradient(linear, left top, left bottom, from(#8f3714), to(#bf6f50) );       
 background: -moz-linear-gradient(-90deg, #8f3714, #bf6f50);         
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#8f3714', EndColorStr='#bf6f50');      
 }       
 .button-brown:active 
 {       
 background: #8f3714;      
 }
            
 /*----------------------------*/      
 .button-green 
 {         
 background: #428739;      
 background: -webkit-gradient(linear, left top, left bottom, from(#c8dd95), to(#428739) );  
 background: -moz-linear-gradient(-90deg, #c8dd95, #428739);         
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#c8dd95', EndColorStr='#428739');   
 }             
 .button-green:hover     
 {          
 background: #c8dd95;        
 background: -webkit-gradient(linear, left top, left bottom, from(#428739), to(#c8dd95) );  
 background: -moz-linear-gradient(-90deg, #428739, #c8dd95);     
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#428739', EndColorStr='#c8dd95');    
 }               
 .button-green:active     
 {          
 background: #428739;      
 }
             
 /*----------------------------*/        
 .button-red      
 {          
 background: #D82741;   
 background: -webkit-gradient(linear, left top, left bottom, from(#E84B6E), to(#D82741) );        
 background: -moz-linear-gradient(-90deg, #E84B6E, #D82741);         
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#E84B6E', EndColorStr='#D82741');   
 }      
 .button-red:hover   
 {          
 background: #E84B6E;       
 background: -webkit-gradient(linear, left top, left bottom, from(#D82741), to(#E84B6E) ); 
 background: -moz-linear-gradient(-90deg, #D82741, #E84B6E);        
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#D82741', EndColorStr='#E84B6E');  
 }              
 .button-red:active    
 {          
 background: #D82741;     
 }
    
 /*----------------------------*/       
 .button-purple      
 {        
 background: #6F50E7;      
 background: -webkit-gradient(linear, left top, left bottom, from(#B8A9F3), to(#6F50E7) );    
 background: -moz-linear-gradient(-90deg, #B8A9F3, #6F50E7);        
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#B8A9F3', EndColorStr='#6F50E7'); 
 }        
 .button-purple:hover   
 {         
 background: #B8A9F3;       
 background: -webkit-gradient(linear, left top, left bottom, from(#6F50E7), to(#B8A9F3) );    
 background: -moz-linear-gradient(-90deg, #6F50E7, #B8A9F3);        
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#6F50E7', EndColorStr='#B8A9F3');   
 }               
 .button-purple:active     
 {          
 background: #6F50E7;    
 }
     
 /*----------------------------*/        
 .button-black  
 {         
 background: #141414;     
 background: -webkit-gradient(linear, left top, left bottom, from(#656565), to(#141414) );  
 background: -moz-linear-gradient(-90deg, #656565, #141414);        
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#656565', EndColorStr='#141414');  
 }             
 .button-black:hover    
 {         
 background: #656565;       
 background: -webkit-gradient(linear, left top, left bottom, from(#141414), to(#656565) );    
 background: -moz-linear-gradient(-90deg, #141414, #656565);      
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#141414', EndColorStr='#656565');    
 }               
 .button-black:active   
 {         
 background: #141414;       
 }    
      
 /*----------------------------*/       
 .button-orange    
 {        
 background: #f09c15;   
 background: -webkit-gradient(linear, left top, left bottom, from(#f8c939), to(#f09c15) ); 
 background: -moz-linear-gradient(-90deg, #f8c939, #f09c15);    
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#f8c939', EndColorStr='#f09c15');  
 }            
 .button-orange:hover    
 {            background: #f8c939;
 background: -webkit-gradient(linear, left top, left bottom, from(#f09c15), to(#f8c939) );         
 background: -moz-linear-gradient(-90deg, #f09c15, #f8c939);       
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#f09c15', EndColorStr='#f8c939');     
 }               
 .button-orange:active       
 {         
 background: #f09c15;   
 }   
       
 /*----------------------------*/       
 .button-silver     
 {        
 background: #c5c5c5;      
 background: -webkit-gradient(linear, left top, left bottom, from(#eaeaea), to(#c5c5c5) ); 
 background: -moz-linear-gradient(-90deg, #eaeaea, #c5c5c5);    
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#eaeaea', EndColorStr='#c5c5c5');     
 }              
 .button-silver:hover      
 {           
 background: #eaeaea;     
 background: -webkit-gradient(linear, left top, left bottom, from(#c5c5c5), to(#eaeaea) );         
 background: -moz-linear-gradient(-90deg, #c5c5c5, #eaeaea);          
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#c5c5c5', EndColorStr='#eaeaea');     
 }             
 .button-silver:active    
 {        
 background: #c5c5c5;    
 }         

 7. HTML structure

Let’s see how the HTML looks for the blue button for example:




<a class="button button-khaki" href="#">
<span>Button</span>
</a>
<a class="button button-blue" href="#">
<span>Button</span>
</a>
<a class="button button-brown" href="#">
<span>Button</span>
</a>
<br>
<a class="button button-red" href="#">
<span>Button</span>
</a>
<a class="button button-purple" href="#">
<span>Button</span>
</a>
<a class="button button-green" href="#">
<span>Button</span>
</a>
<br>
<a class="button button-black" href="#">
<span>Button</span>
</a>
<a class="button button-orange" href="#">
<span>Button</span>
</a>
<a class="button button-silver" href="#">
<span>Button</span>
</a>


 Replace # with your link

  8.Now save post your Document.

    You are done... 
Read More »

2 March 2013

Cool CSS3 navigation menu

VM | 11:58 pm | | | Be the first to comment!

W
e all try to be very creative when it comes to designing a website navigation. It’s a sure thing: a good looking navigation menu can really enhance your website.
I wrote before about how to create different menus and today you’ll learn how to create another stylish CSS3 navigation menu.









1. Log in to blogger account and Click drop down.




2. Now select "Template" Like Below.



3. Now you can see Live on blog, Click EDIT HTML Button"

4. Now click Proceed button.
   
5. Find this tag by using Ctrl+F    ]]></b:skin>

6. Paste below code Before ]]></b:skin> tag

nav  {
 display: block;
 width: 100%;
 overflow: hidden;
}

nav ul {
 margin: 80px 0 20px 0;
 padding: .7em;
 float: left;
 list-style: none;
 background: #444;
 background: rgba(0,0,0,.2);
 -moz-border-radius: .5em;
 -webkit-border-radius: .5em;
 border-radius: .5em;    
 -moz-box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.8) inset;
 -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.8) inset;
 box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.8) inset; 
}

nav li {
 float:left;
}

nav a {
 float:left;
 padding: .8em 1.5em;
 text-decoration: none;
 color: #555;
 text-shadow: 0 1px 0 rgba(255,255,255,.5);
 font: bold 1.1em/1 'trebuchet MS', Arial, Helvetica;
 letter-spacing: 1px;
 text-transform: uppercase;
 border-width: 1px;
 border-style: solid;
 border-color: #fff #ccc #999 #eee;
 background: #c1c1c1;
 background: -moz-linear-gradient(#f5f5f5, #c1c1c1);
 background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#c1c1c1));
 background: -webkit-linear-gradient(#f5f5f5, #c1c1c1);
 background: -o-linear-gradient(#f5f5f5, #c1c1c1);
 background: -ms-linear-gradient(#f5f5f5, #c1c1c1);
 background: linear-gradient(#f5f5f5, #c1c1c1);            
 }
 
nav a:hover, nav a:focus {
 outline: 0;
 color: #fff;
 text-shadow: 0 1px 0 rgba(0,0,0,.2);
 background: #fac754;
 background: -moz-linear-gradient(#fac754, #f8ac00);
 background: -webkit-gradient(linear, left top, left bottom, from(#fac754), to(#f8ac00));
 background: -webkit-linear-gradient(#fac754, #f8ac00);
 background: -o-linear-gradient(#fac754, #f8ac00);
 background: -ms-linear-gradient(#fac754, #f8ac00);
 background: linear-gradient(#fac754, #f8ac00);
}

nav a:active {
 -moz-box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset;
 -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset;
 box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset;
}
 
nav li:first-child a {
 border-left: 0;
 -moz-border-radius: 4px 0 0 4px;
 -webkit-border-radius: 4px 0 0 4px;
 border-radius: 4px 0 0 4px;            
}

nav li:last-child a {
 border-right: 0;
 -moz-border-radius: 0 4px 4px 0;
 -webkit-border-radius: 0 4px 4px 0;
 border-radius: 0 4px 4px 0;            
}

7. Go to blogger and click Layout

8. Click Add Gadget and select 'HTML/Javascript

9. Paste below code

<nav>
    <ul>
        <li><a href="#">Home</a></li>
        <li><a href="#">Categories</a></li>
        <li><a href="#">About</a></li>    
        <li><a href="#">Portfolio</a></li>
        <li><a href="#">Contact</a></li>
    </ul>
</nav>

Replace # with your link

10. Now save your HTML/Javascript'.

    You are done... 
 

Read More »

27 February 2013

Black and Blue simple Menu Bar

VM | 1:44 pm | | | Be the first to comment!
M
enu bar is very important in blogger.Because it helps to navigate your blog or website easily.It mean they can find easily  what  they  looking  for.  In  this  tutorial im gonna explain  how  to  add    Css3    menu  bar  for  blogger. Its  include nice  hover  style.Im  using Css3 and HTML, Just
check out demo








1. Log in to blogger account and Click drop down.




2. Now select "Template" Like Below.



3. Now you can see Live on blog, Click EDIT HTML Button"

4. Now click Proceed button.
   
5. Find this tag by using Ctrl+F    ]]></b:skin>

6. Paste below code Before ]]></b:skin> tag


@import url(http://fonts.googleapis.com/css?family=Open+Sans:600);
/* Menu CSS */
#cssmenu, #cssmenu > ul{
background:#24459A;
padding-bottom: 3px;
font-family: 'Open Sans', sans-serif;
font-weight: 600;
}
#cssmenu:before, #cssmenu:after, #cssmenu > ul:before, #cssmenu > ul:after {
content: '';
display: table;
}
#cssmenu:after, #cssmenu > ul:after {
clear: both;
}
#cssmenu {
zoom:1;
}
#cssmenu > ul{
background:black;
margin: 0;
padding: 0;
position: relative;
}
#cssmenu > ul li{
margin: 0;
padding: 0;
list-style: none;
}
#cssmenu > ul > li{
float: left;
position: relative;
}
#cssmenu > ul > li > a{
padding: 23px 26px;
display: block;
color: white;
font-size: 13px;
text-decoration: none;
text-transform: uppercase;
text-shadow: 0 -1px 0 #0d0d0d;
text-shadow: 0 -1px 0 rgba(0, 0, 0, .70);
line-height: 18px;
}
#cssmenu > ul > li:hover > a{
background:#24459A;
text-shadow: 0 -1px 0 #97321f;
text-shadow: 0 -1px 0 rgba(122, 42, 26, .64);
}
#cssmenu > ul > li > a > span{
line-height: 18px;
}
#cssmenu > ul > li.active > a, #cssmenu > ul > li > a:active{
background: #24459A;
}
/* Childs */
#cssmenu > ul ul{
opacity: 0;
visibility: hidden;
position: absolute;
top: 120px;
background:black;
margin: 0;
padding: 0;
z-index: -1;
-webkit-transition: all .35s .2s ease-in-out;
-moz-transition: all .35s .2s ease-in-out;
-ms-transition: all .35s .2s ease-in-out;
transition: all .35s .2s ease-in-out;
}
#cssmenu > ul li:hover ul{
opacity: 1;
visibility: visible;
margin: 0;
color: #000;
z-index: 2;
top:64px;
left: 0;
}
#cssmenu > ul ul:before{
content: '';
position: absolute;
top: -10px;
width: 100%;
height: 20px;
background: transparent;
}
#cssmenu > ul ul li{
list-style: none;
padding: 0;
margin: 0;
width: 100%;
}
#cssmenu > ul ul li a{
padding: 18px 26px;
display: block;
color: white;
font-size: 13px;
text-decoration: none;
text-transform: uppercase;
width: 150px;
border-left: 4px solid transparent;
-webkit-transition: all .35s ease-in-out;
-moz-transition: all .35s ease-in-out;
-ms-transition: all .35s ease-in-out;
transition: all .35s ease-in-out;
}
#cssmenu > ul ul li a:hover{
background:#24459A;
}
#cssmenu > ul ul li a:active{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcsTtufe7ZT-jkIrCFykqWABR3l19abn0panUORzFsypGzZ8iAhr5-4EMcr3ARqL7mp5oKZpXbb2zUj-cUgeuR678Ph1hIpyVgwpEr2IbmlT-WcYixlh8UaJ9ekAuGVKRO9ARHBX7I9M0/s1600/menu-bg.png) repeat;
}menu > ul > li > ul > li > ul{
left: 202px;
top: 1px;
width: 200px;
}
#cssmenu > ul > li > ul > li > ul > li{
float: none;
} 

7. Go to blogger and click Layout

8. Click Add Gadget and select 'HTML/Javascript

9. Paste below code.


        <div id="cssmenu">
<ul>
<li class="active "><a href="/"><span>Home</span></a></li>
<li class="has-sub "><a href="#"><span>Templates</span></a>
<ul>
<li><a href="#"><span>Blogger</span></a></li>
<li><a href="#"><span>WordPress</span></a></li>
</ul>
</li>
<li><a href="#"><span>Write For Us</span></a></li>
<li><a href="#"><span>Videos</span></a></li>
<li><a href="#"><span>Contact</span></a></li>
<li><a href="#"><span>Privacy</span></a></li>
<li><a rel="author" href="#"><span>About</span></a></li>
</ul>
</div>

Replace the # With your Link

10. Now save your HTML/Javascript'.

    You are done...

Read More »

22 February 2013

Twitter Style Hover Button Recreated in Pure CSS

VM | 7:38 pm | | Be the first to comment!
 How to add this button to your blog post

Twitter Style Button 

At first we have to add the skin of these both buttons. that's adding CSS part into your blogger template. Lets see how to do it.
  • Go to Blogger Dashboard > Template
  • Backup your Template before making any changes to your blog
  • Click on Edit HTML
  • Tick Expand Widget Templates
  • Press Ctrl + F and search the code shown below ▼

]]></b:skin>

Now add the below code just Above/Before ]]></b:skin> (use Ctrl+F to find the code)

.btn {
position: relative;
display: inline-block;
overflow: visible;
padding: 5px 10px;
font-size: 18px;
font-weight: bold;
line-height: 18px;
color: #333;
text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
background-color: #CCC;
background-repeat: no-repeat;
border: 1px solid #CCC;
cursor: pointer;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .5);
-moz-box-shadow: 0 1px 0 rgba(255,255,255,.5);
box-shadow: 0 1px 0 rgba(255, 255, 255, .5);
text-decoration: none !important;
margin-top:15px;
margin-left:5px;
}

.tgtwit-btn {
color: white !important;
text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
background-color: #019AD2;
background-repeat: repeat-x;
background-image: -khtml-gradient(linear,left top,left bottom,from(#33BCEF),to(#019AD2));
background-image: -moz-linear-gradient(#33BCEF,#019AD2);
background-image: -ms-linear-gradient(#33BCEF,#019AD2);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#33BCEF),color-stop(100%,#019AD2));
background-image: -webkit-linear-gradient(#33BCEF,#019AD2);
background-image: -o-linear-gradient(#33BCEF,#019AD2);
background-image: linear-gradient(#33BCEF,#019AD2);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#33bcef',endColorstr='#019ad2',GradientType=0);
border-color: #057ED0 !important;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

.tgtwit-btn:hover {
color: white !important;
background-color: #0271BF;
background-repeat: repeat-x;
background-image: -khtml-gradient(linear,left top,left bottom,from(#2DADDC),to(#0271BF));
background-image: -moz-linear-gradient(#2DADDC,#0271BF);
background-image: -ms-linear-gradient(#2DADDC,#0271BF);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#2DADDC),color-stop(100%,#0271BF));
background-image: -webkit-linear-gradient(#2DADDC,#0271BF);
background-image: -o-linear-gradient(#2DADDC,#0271BF);
background-image: linear-gradient(#2DADDC,#0271BF);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2daddc',endColorstr='#0271bf',GradientType=0);
border-color: #096EB3 !important;
}

Save your Template and we have successfully added the skin of Twitter style hover button. Use the following HTML code snippet to add this button to your website/blog post.

<a class="btn tgtwit-btn" href="Your Link URL">Button Text</a>
Read More »

CSS3 Hover Animation Effect for Your Blog Post Title

VM | 7:29 pm | | Be the first to comment!
css3 animation effect
How to add this animation to blog post title
As I mentioned above you can easily add this trick into your blogger blog by applaying simple CSS3 code into your template and you don't wanna add separate html code for this animation effect. Please follow the below steps.
 
  1. Go to Blogger Dashboard > Template
  2. Backup your Template before making any changes to your blog
  3. Click on Edit HTML
  4. Tick Expand Widget Templates
  5. Press Ctrl + F and search the code shown below 
 ]]></b:skin>
Now add the below code just Above/Before ]]></b:skin> (use Ctrl+F to find the code)

.post h2 {
margin:.1em 0 0;
padding:0 0 4px;
font-size:1.0em;
font-weight:normal;
line-height:2.5em;
color:#444;
font-family: Oswald, Serif;
}
.post h2 a, .post h2 a:visited, .post h2 strong {
display:block;
text-decoration:none;
color:#444;
font-size:2.0em;
font-weight:normal;
font-family: Oswald, Serif;
}
.post h2 strong, .post h2 a:hover {
color:#0274be;
background: url("http://iconkits.com/images/vip/aerozone_arrow_small_preview.png") no-repeat 4px center transparent;
padding: 3px 10px 3px 50px;
-moz-transition: all 1s ease-out;
-o-transition: all 1s ease-out;
-webkit-transition: all 1s ease-out;
-ms-transition: all 1s ease-out;
transition: all 1s ease-out;
} 
Read More »

10 February 2013

Amazing CSS Image Circle Hover Effect For Blogger

VM | 8:25 pm | Be the first to comment!




In this post, im going to explain how to add
amazing circle image hover effect with CSS.
Im using CSS and HTML for this. Atctually
this is very   interesting,  It   make your blog
attractive, You can link it with special post.
I include demo For this. you can check it from
below link. Check my earlier post here









1. Log in to blogger account and Click drop down.




2. Now select "Template" Like Below.



3. Now you can see Live on blog, Click EDIT HTML Button"

4. Now click Proceed button.
   
5. Find this tag by using Ctrl+F    ]]></b:skin>

6. Paste below code Before ]]></b:skin> tag

/* SCRIPT CODE */
.ch-item {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
    cursor: default;
    -webkit-perspective: 900px;
    -moz-perspective: 900px;
    -o-perspective: 900px;
    -ms-perspective: 900px;
    perspective: 900px;}
.ch-info{
    position: absolute;
    width: 150px;
    height: 150px;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.ch-info > div {
    display: block;
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-position: center center;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    transition: all 0.4s linear;
    -webkit-transform-origin: 50% 0%;
    -moz-transform-origin: 50% 0%;
    -o-transform-origin: 50% 0%;
    -ms-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
}
.ch-info .ch-info-front {
    box-shadow: inset 0 0 0 6px rgba(0,0,0,0.3);
}
.ch-info .ch-info-back {
    -webkit-transform: translate3d(0,0,-220px) rotate3d(1,0,0,90deg);
    -moz-transform: translate3d(0,0,-220px) rotate3d(1,0,0,90deg);
    -o-transform: translate3d(0,0,-220px) rotate3d(1,0,0,90deg);
    -ms-transform: translate3d(0,0,-220px) rotate3d(1,0,0,90deg);
    transform: translate3d(0,0,-220px) rotate3d(1,0,0,90deg);
    background: #000;
    opacity: 0;
}
.ch-img-1 {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrEeZSp00th_8ffXtN5F4vmzROA6u1PBFx-JHGrmV6enLQsrkhwhmT_qM31A_tqYqCiKRh44qZE83blq5Q6mzrEv5PntOEnunRj65aG818gd74Ds-Xljn46Ve_USdE_RDLMc85xqLNCT4/s1600/chip_cake.jpg);
}
.ch-img-2 {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgnBgBEB-LJ2E1bUjNxeNBIvhhwm6SvO8w6QDQjzADZsTZoMFWT5gpbbAO7VxMoCj10L_oOzi3-5DHb7SSF4bMlzvg6ghR0TES-fXLYTrAoFZhhD1Df1PgO0uKghmsKOC6xTbypVeWuM4/s1600/Blogger.png);
}
.ch-img-3 {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnfoEOqQ1o77GW76fnpMNUdih4lw_4w4_bZAqLseKxgdZrNOjny-oazSbIH2FONQYv8le21N4kxN4jUwU01ryDwmHMhbcgMJVEhn0WHEiQ5AcicO1DoBiG0iINVdOwdbpOM0ezXYnJ-YQ/s1600/photo-7.png);
}
.ch-info h3 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 24px;
    margin: -10px 15px;
    padding: 60px 0 0 0;
    height: 110px;
    font-family: 'Open Sans', Arial, sans-serif;
    text-shadow:
        0 0 1px #fff,
        0 1px 2px rgba(0,0,0,0.3);}
.ch-info p {
    color: #fff;
    padding: 10px 5px;
    font-style: italic;
    margin: -95px; 30px;
    font-size: 12px;}
.ch-info p a {
    display: block;
    color: #fff;
    color: rgba(255,255,255,0.7);
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 1px;
    padding-top: 4px;
    font-family: 'Open Sans', Arial, sans-serif;}
.ch-info p a:hover {
    color: #fff222;
    color: rgba(255,242,34, 0.8);}
.ch-item:hover .ch-info-front {
    -webkit-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
    -moz-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
    -o-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
    -ms-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
    transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
    opacity: 0;}
.ch-item:hover .ch-info-back {
    -webkit-transform: rotate3d(1,0,0,0deg);
    -moz-transform: rotate3d(1,0,0,0deg);
    -o-transform: rotate3d(1,0,0,0deg);
    -ms-transform: rotate3d(1,0,0,0deg);
    transform: rotate3d(1,0,0,0deg);
    opacity: 1;}
.ch-grid {
    margin: 20px 0 0 0;
    padding: 0;
    list-style: none;
    display: block;
    text-align: center;
    width: 100%;}
.ch-grid:after,
.ch-item:before {
    content: '';
    display: table;}
.ch-grid:after {
    clear: both;}
.ch-grid li {
    width: 150px;
    height: 150px;
    display: inline-block;
    margin: 4px;
}

*You can change image as your like im using 180x180 pixel

7. Go to blogger  and click drop-down like  1st step and select Layout

8. Click Add Gadget and select 'HTML/Javascript"

9. Paste below code.

<section class="main">
           
     <ul class="ch-grid">
       <li>
         <div class="ch-item">               
             <div class="ch-info">
                 <div class="ch-info-front ch-img-1"></div>
                    <div class="ch-info-back">
                                    <h3>Cake</h3>
                                    <p>by Blogtasz<a href="#">View on Dribbble</a></p>
                                </div>   
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="ch-item">
                            <div class="ch-info">
                                <div class="ch-info-front ch-img-2"></div>
                                <div class="ch-info-back">
                                    <h3>Blog</h3>
                                    <p>by Blogtasz <a href="#">View on Dribbble</a></p>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="ch-item">
                            <div class="ch-info">
                                <div class="ch-info-front ch-img-3"></div>
                                <div class="ch-info-back">
                                    <h3>Nature</h3>
                                    <p>by Blogtasz <a href="#">View on Dribbble</a></p>
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
               
            </section>

 *You can change the header according to image, and URL also.

10. Now save your template. You are done.
Read More »

CSS3 Slanted Vertical Menu For Blogger

VM | 6:25 pm | | Be the first to comment!






 Every websites / blogs using menu bars  for link
their main pages.It  will more  helpful  for your visitors
  to track your main pages. So, why  don't  you  choose
attractive menu bar for  your  blog.  Its helps to  make
your blog attractive too.That,s why you have to choose
best one for your blog.Today im gonna explain how to
add animated vertical menu bar for your blog.You can
get my all vertical here

1. Log in to blogger account and Click drop down.




2. Now select "Template" Like Below.



3. Now you can see Live on blog, Click EDIT HTML Button"

4. Now click Proceed button.
   
5. Find this tag by using Ctrl+F    ]]></b:skin>

6. Paste below code Before ]]></b:skin> tag

 /* The CSS Code for the menu starts here  */

ul.svertical{
width: 200px; /* width of menu */
overflow: auto;
background:white;/* background of menu */
margin: 0;
padding: 0;
padding-top: 7px; /* top padding */
list-style-type: none;
}

ul.svertical li{
text-align: right; /* right align menu links */
}
ul.svertical li a{
position: relative;
display: inline-block;
text-indent: 5px;
overflow: hidden;
background:#35BEFF; /* initial background color of links */
font: bold 16px Germand;
text-decoration: none;
padding: 5px;
margin-bottom: 7px; /* spacing between links */
color: black;
-moz-box-shadow: inset -7px 0 5px rgba(114,114,114, 0.8); /* inner right shadow added to each link */
-webkit-box-shadow: inset -7px 0 5px rgba(114,114,114, 0.8);
box-shadow: inset -7px 0 5px rgba(114,114,114, 0.8);
-moz-transition: all 0.2s ease-in-out; /* CSS3 transition of hover properties */
-webkit-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
ul.svertical li a:hover{
padding-right: 30px; /* add right padding to expand link horizontally to the left */
color: black;
background: #0B55F1; /* hover background color */
-moz-box-shadow: inset -3px 0 2px rgba(114,114,114, 0.8); /* contract inner right shadow */
-webkit-box-shadow: inset -3px 0 5px rgba(114,114,114, 0.8);
box-shadow: inset -3px 0 5px rgba(114,114,114, 0.8);
}
ul.svertical li a:before{ /* CSS generated content: slanted right edge */
content: "";
position: absolute;
left: 0;
top: 0;
border-style: solid;
border-width: 70px 0 0 20px; /* Play around with 1st and 4th value to change slant degree */
border-color: transparent transparent transparent white; /* change black to match the background color of the menu UL */
}

7. Go to blogger and click Layout

8. Click Add Gadget and select 'HTML/Javascript

9. Paste below code.

<ul class="svetical">
<li><a href="#">Blogger Trix</a></li>
<li><a href="#">CSS Examples</a></li>
<li><a href="#">JavaScript Codes</a></li>
<li><a href="#">Jquery Effects</a></li>
<li><a href="#">HTML Tips</a></li>
<li><a href="#">Coding Forums</a></li>
</ul>
 10. Now save your HTML/Javascript'.

    You are done...

Read More »
Related Posts Plugin for WordPress, Blogger...

Subscribe Updates, Its FREE!