Advertisement
KatyTonnel

Marcador colorido etiqueta

Feb 2nd, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.32 KB | None | 0 0
  1. /*Tutorial por painlessresources.blogspot.com.br | código por Deixei Florir
  2. ---------------------------------------------------*/
  3. .label-size{
  4. margin:0;
  5. padding:0;
  6. position:relative;
  7. }
  8. .label-size a{
  9. float:left;
  10. height:24px;
  11. line-height:24px;
  12. position:relative;
  13. font-size:14px;
  14. font-weight:bold;
  15. margin-bottom: 9px;
  16. margin-left:20px;
  17. padding:0 10px 0 12px;
  18. background:#000;
  19. color:#FFF;
  20. text-decoration:none;
  21. -moz-border-radius-bottomright:4px;
  22. -webkit-border-bottom-right-radius:4px;
  23. border-bottom-right-radius:4px;
  24. -moz-border-radius-topright:4px;
  25. -webkit-border-top-right-radius:4px;
  26. border-top-right-radius:4px;
  27. }
  28. .label-size a:before{
  29. content:"";
  30. float:left;
  31. position:absolute;
  32. top:0;
  33. left:-12px;
  34. width:0;
  35. height:0;
  36. border-color:transparent #000 transparent transparent;
  37. border-style:solid;
  38. border-width:12px 12px 12px 0;
  39. }
  40. .label-size a:after{
  41. content:"";
  42. position:absolute;
  43. top:10px;
  44. left:0;
  45. float:left;
  46. width:4px;
  47. height:4px;
  48. -moz-border-radius:2px;
  49. -webkit-border-radius:2px;
  50. border-radius:2px;
  51. background:#FFF;
  52. -moz-box-shadow:-1px -1px 2px #FFFAFA;
  53. -webkit-box-shadow:-1px -1px 2px #FFFAFA;
  54. box-shadow:-1px -1px 2px #004977;
  55. }
  56. .label-size a:hover{background:#CCC;}
  57. .label-size a:hover:before{border-color:transparent #CCC transparent transparent;
  58. }  
  59. /*--- fim do código-----*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement