Advertisement
Hisabeel

How to place a bar at top?

Sep 27th, 2017
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.35 KB | None | 0 0
  1. Para colocar uma barra é muito fácil, basta colocar dois ou três códigos, siga as etapas abaixo.
  2.  
  3. Passo 1:
  4. Para colocar o código no seu blog, procure </style>, e depois depois coloque:
  5.     #hisabar{
  6.     z-index:8;
  7.     position:fixed;
  8.     width:120%;
  9.     opacity:1.0;
  10.     height:25px;
  11.     background:{color:Title};
  12.     z-index:1;
  13.     margin-top:-40px;
  14.     margin-left:-10px;
  15.     box-shadow:2px 3px 4px #ddd;
  16.     border-bottom:5px #fff solid;
  17.     }
  18.  
  19. Passo 2:
  20. Em seguida, coloque este código no seu html antes de </body>.
  21.     <div id="hisabar"></div>
  22.  
  23. Bem, para mudar a cor da barra é através da cor do título, mudando automaticamente.
  24.  
  25.  
  26. x ----------------------------------------------------------------------------------------------------------------------------------- x
  27.  
  28.  
  29. To put a bar is very easy, just requires putting two or three codes, follow the steps below.
  30.  
  31. Step 1:
  32. To put the code in your blog, look for </style>, and then after it put:
  33.     #hisabar{
  34.     z-index:8;
  35.     position:fixed;
  36.     width:120%;
  37.     opacity:1.0;
  38.     height:25px;
  39.     background:{color:Title};
  40.     z-index:1;
  41.     margin-top:-40px;
  42.     margin-left:-10px;
  43.     box-shadow:2px 3px 4px #ddd;
  44.     border-bottom:5px #fff solid;
  45.     }
  46.  
  47. Step 2:
  48. Then put this code in your html right before </body>.
  49.     <div id=”hisabar”></div>
  50.  
  51. Well, to change the color of the bar is through the color of the title, changing automatically.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement