Add CSS3 Flying Style Drop Down Menu-bar to Blogger

Untitled.jpg
  1. Login to your Blogger Account.
  2. From Dashboard >> Tamplate >> Edit HTML >> Proceed.
  3. Don't forget to backup your template first.
  4. Check the Expand Widget Templates box.
  5. Find out (Press Ctrl+F) the Code ]]></b:skin>
  6. Now Just before the ]]></b:skin> Paste the following Code
    1. #flyingmenubt,
    2. #flyingmenubt ul {
    3. list-style: none outside none;
    4. margin: 0;
    5. padding: 0;
    6. height: 500px;
    7. }
    8. #flyingmenubt {
    9. font-family: "Lucida Sans Unicode", Verdana, Arial, sans-serif;
    10. font-size: 13px;
    11. height: 36px;
    12. list-style: none outside none;
    13. margin: 40px auto;
    14. text-shadow: 0 -1px 3px #202020;
    15. width: 980px;
    16. -moz-border-radius: 4px;
    17. -webkit-border-radius: 4px;
    18. border-radius: 4px;
    19. -moz-box-shadow: 0px 3px 3px #cecece;
    20. -webkit-box-shadow: 0px 3px 3px #cecece;
    21. box-shadow: 0 3px 4px #8b8b8b;
    22. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
    23. background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
    24. background-color: #5f5f5f;
    25. }
    26. #flyingmenubt ul {
    27. left: -9999px;
    28. position: absolute;
    29. top: -9999px;
    30. z-index: 2;
    31. }
    32. #flyingmenubt li {
    33. border-bottom: 1px solid #575757;
    34. border-left: 1px solid #929292;
    35. border-right: 1px solid #5d5d5d;
    36. border-top: 1px solid #797979;
    37. display: block;
    38. float: left;
    39. height: 34px;
    40. position: relative;
    41. width: 105px;
    42. }
    43. #flyingmenubt li:first-child {
    44. border-left: 0 none;
    45. margin-left: 5px;
    46. }
    47. #flyingmenubt li a {
    48. color: #FFFFFF;
    49. display: block;
    50. line-height: 34px;
    51. outline: medium none;
    52. text-align: center;
    53. text-decoration: none;
    54. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
    55. background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
    56. background-color: #5f5f5f;
    57. }
    58. /* keyframes #animation1 */
    59. @-webkit-keyframes animation1 {
    60. 0% {
    61. -webkit-transform: scale(1);
    62. }
    63. 30% {
    64. -webkit-transform: scale(1.3);
    65. }
    66. 100% {
    67. -webkit-transform: scale(1);
    68. }
    69. }
    70. @-moz-keyframes animation1 {
    71. 0% {
    72. -moz-transform: scale(1);
    73. }
    74. 30% {
    75. -moz-transform: scale(1.3);
    76. }
    77. 100% {
    78. -moz-transform: scale(1);
    79. }
    80. }
    81. #flyingmenubt li>a:hover {
    82. -moz-animation-name: animation1;
    83. -moz-animation-duration: 0.7s;
    84. -moz-animation-timing-function: linear;
    85. -moz-animation-iteration-count: infinite;
    86. -moz-animation-direction: normal;
    87. -moz-animation-delay: 0;
    88. -moz-animation-play-state: running;
    89. -moz-animation-fill-mode: forwards;
    90. -webkit-animation-name: animation1;
    91. -webkit-animation-duration: 0.7s;
    92. -webkit-animation-timing-function: linear;
    93. -webkit-animation-iteration-count: infinite;
    94. -webkit-animation-direction: normal;
    95. -webkit-animation-delay: 0;
    96. -webkit-animation-play-state: running;
    97. -webkit-animation-fill-mode: forwards;
    98. }
    99. #flyingmenubt li:hover>a {
    100. z-index: 4;
    101. }
    102. #flyingmenubt li:hover ul.subs {
    103. left: 0;
    104. top: 34px;
    105. width: 150px;
    106. }
    107. #flyingmenubt ul li {
    108. background: none repeat scroll 0 0 #838383;
    109. box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    110. opacity: 0;
    111. width: 100%;
    112. /*-webkit-transition:all 0.3s ease-in-out;
    113. -moz-transition:all 0.3s ease-in-out;
    114. -o-transition:all 0.3s ease-in-out;
    115. -ms-transition:all 0.3s ease-in-out;
    116. transition:all 0.3s ease-in-out;*/
    117. }
    118. /* keyframes #animation2 */
    119. @-webkit-keyframes animation2 {
    120. 0% {
    121. margin-left: 185px;
    122. }
    123. 100% {
    124. margin-left: 0px;
    125. opacity: 1;
    126. }
    127. }
    128. @-moz-keyframes animation2 {
    129. 0% {
    130. margin-left: 185px;
    131. }
    132. 100% {
    133. margin-left: 0px;
    134. opacity: 1;
    135. }
    136. }
    137. #flyingmenubt li:hover ul li {
    138. /* css3 animation */
    139. -moz-animation-name: animation2;
    140. -moz-animation-duration: 0.3s;
    141. -moz-animation-timing-function: linear;
    142. -moz-animation-iteration-count: 1;
    143. -moz-animation-direction: normal;
    144. -moz-animation-delay: 0;
    145. -moz-animation-play-state: running;
    146. -moz-animation-fill-mode: forwards;
    147. -webkit-animation-name: animation2;
    148. -webkit-animation-duration: 0.3s;
    149. -webkit-animation-timing-function: linear;
    150. -webkit-animation-iteration-count: 1;
    151. -webkit-animation-direction: normal;
    152. -webkit-animation-delay: 0;
    153. -webkit-animation-play-state: running;
    154. -webkit-animation-fill-mode: forwards;
    155. /*-webkit-transition:all 0.3s ease-in-out;
    156. -moz-transition:all 0.3s ease-in-out;
    157. -o-transition:all 0.3s ease-in-out;
    158. -ms-transition:all 0.3s ease-in-out;
    159. transition:all 0.3s ease-in-out;*/
    160. }
    161. /* animation delays */
    162. #flyingmenubt li:hover ul li:nth-child(1) {
    163. -moz-animation-delay: 0;
    164. -webkit-animation-delay: 0;
    165. }
    166. #flyingmenubt li:hover ul li:nth-child(2) {
    167. -moz-animation-delay: 0.05s;
    168. -webkit-animation-delay: 0.05s;
    169. }
    170. #flyingmenubt li:hover ul li:nth-child(3) {
    171. -moz-animation-delay: 0.1s;
    172. -webkit-animation-delay: 0.1s;
    173. }
    174. #flyingmenubt li:hover ul li:nth-child(4) {
    175. -moz-animation-delay: 0.15s;
    176. -webkit-animation-delay: 0.15s;
    177. }
    178. #flyingmenubt li:hover ul li:nth-child(5) {
    179. -moz-animation-delay: 0.2s;
    180. -webkit-animation-delay: 0.2s;
    181. }
    182. #flyingmenubt li:hover ul li:nth-child(6) {
    183. -moz-animation-delay: 0.25s;
    184. -webkit-animation-delay: 0.25s;
    185. }
    186. #flyingmenubt li:hover ul li:nth-child(7) {
    187. -moz-animation-delay: 0.3s;
    188. -webkit-animation-delay: 0.3s;
    189. }
    190. #flyingmenubt li:hover ul li:nth-child(8) {
    191. -moz-animation-delay: 0.35s;
    192. -webkit-animation-delay: 0.35s;
    193. }
  7. Go back Blogger and click Layout than Add Gadget >> HTML/Javascript.
  8. Paste the below code and Save.
    1. <ul id="flyingmenubt">
    2. <li><a href="http://www.sr-site.com/" temp_href="http://www.sr-site.com/">Home</a></li>
    3. <li><a class="hsubs" href="#" temp_href="#">Menu 1</a>
    4. <ul class="subs">
    5. <li><a href="#" temp_href="#">Submenu 1</a></li>
    6. <li><a href="#" temp_href="#">Submenu 2</a></li>
    7. <li><a href="#" temp_href="#">Submenu 3</a></li>
    8. <li><a href="#" temp_href="#">Submenu 4</a></li>
    9. <li><a href="#" temp_href="#">Submenu 5</a></li>
    10. </ul>
    11. </li>
    12. <li><a class="hsubs" href="http://www.sr-site.com/" temp_href="http://www.sr-site.com/">
    13. Menu 2</a>
    14. <ul class="subs">
    15. <li><a href="#" temp_href="#">Submenu 1</a></li>
    16. <li><a href="#" temp_href="#">Submenu 2</a></li>
    17. <li><a href="#" temp_href="#">Submenu 3</a></li>
    18. <li><a href="#" temp_href="#">Submenu 4</a></li>
    19. <li><a href="#" temp_href="#">Submenu 5</a></li>
    20. <li><a href="#" temp_href="#">Submenu 6</a></li>
    21. <li><a href="#" temp_href="#">Submenu 7</a></li>
    22. <li><a href="#" temp_href="#">Submenu 8</a></li>
    23. </ul>
    24. </li>
    25. <li><a class="hsubs" href="#" temp_href="#">Menu 3</a>
    26. <ul class="subs">
    27. <li><a href="#" temp_href="#">Submenu 1</a></li>
    28. <li><a href="#" temp_href="#">Submenu 2</a></li>
    29. <li><a href="#" temp_href="#">Submenu 3</a></li>
    30. <li><a href="#" temp_href="#">Submenu 4</a></li>
    31. <li><a href="#" temp_href="#">Submenu 5</a></li>
    32. </ul>
    33. </li>
    34. <li><a href="#" temp_href="#">Menu 4</a></li>
    35. <li><a href="#" temp_href="#">Menu 5</a></li>
    36. <li><a href="#" temp_href="#">Menu 6</a></li>
    37. <li><a href="http://www.sr-site.com/" temp_href="http://www.sr-site.com/">Back</a></li>
    38. </ul>