Thursday, April 11, 2013

Css3 Shadow Style Vertical Menu for Blogger

In this tutorial im gonna  explain  how to add nice vertical shadow menu for your blogger. You can add this vertical menu on sidebar and  link with your special post or any categories.Im using Css3 and HTML for this shadow vertical  menu. Its  include  nice hover effect You can   add it  to your blogger by using gadget.
Css3+Shadow+Style+Vertical+Menu


1. Log in to blogger account and Click drop down.
blog-post-option
2. Now select "Layout" Like Below.

3. Click Add Gadget and select 'HTML/Javascript

4. Paste  below code.
<style>
.btrix_blockmenu{
font: bold 14px Germand;
width: 190px; /* width of menu */
}
.btrix_blockmenu ul{
border: 1px solid #eee;
padding: 0;
margin: 0;
list-style: none;
}
.btrix_blockmenu ul li{
margin:0;
padding:0;
}
.btrix_blockmenu ul li a{
display:block;
text-transform: uppercase;
color: #494949;
padding: 10px 15px;
text-decoration: none;
border-bottom: 1px solid #cacaca;
border-right: 1px solid #cacaca; /*right border between menu items*/
-moz-box-shadow: inset 7px 0 10px rgba(114,114,114, 0.6); /* Add inset shadow to each menu item. First 3 values in (114,114,114, 0.5) specifies rgb values, last specifies opacity */
-webkit-box-shadow: inset 7px 0 10px rgba(114,114,114, 0.6);
box-shadow: inset 7px 0 10px rgba(114,114,114, 0.6);
text-shadow: 0 -1px 1px #cfcfcf; /* CSS text shadow to give text some depth */
-moz-transition: all 0.2s ease-in-out; /* Enable CSS transition between property changes */
-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;
}
.btrix_blockmenu ul li a:hover, .btrix_blockmenu ul li a.selected{
color: black;
-moz-box-shadow: inset 7px 0 10px rgba(216,89,39, 0.5), inset 0 0 15px rgba(216,89,39, 0.6), inset 0 0 20px rgba(216,89,39, 0.8); /* Add 3 inset shadows to each menu item  */
-webkit-box-shadow: inset 7px 0 10px rgba(216,89,39, 0.5), inset 0 0 15px rgba(216,89,39, 0.6), inset 0 0 20px rgba(216,89,39, 0.8);
box-shadow: inset 7px 0 10px rgba(216,89,39, 0.5), inset 0 0 15px rgba(216,89,39, 0.6), inset 0 0 20px rgba(216,89,39, 0.8);
}
</style>

<div class="btrix_blockmenu">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Tutorials</a></li>
<li><a href="#">Category</a></li>
<li><a href="#">Download</a></li>
<li><a href="#">About Us</a></li>
<li><a href="http://www.bloggertrix.com/">Contact me</a></li>
</ul>
</div>


Replace # with your URLs.
5. Now save your HTML/Javascript'.You are done.
Hope this Shadow Vertical Menu helps to make your blog attractive.

8 comments:

  1. Thank you for the tips Master, I will try to apply in my new blog.

    ReplyDelete
  2. nice
    will apply for my new blog as well

    ReplyDelete
  3. Very nice post. For absolute beginners i will suggest a site html-tutorials.net. In this site topics are explained in very simple english. One can easily understands.

    ReplyDelete
  4. good thank you for the code :)

    ReplyDelete
  5. I was looking for a code like this and i finally found yours..
    Thanks for the code..:)

    ReplyDelete