Thursday 22 November 2012

Customize Blogger Labels With Css3



I am sharing another beautiful CSS3 labels style for blogger.This label hack can be easily applied to your labels by just adding some CSS code in to your blog.

How To Apply This Label Hack?

Important -  Before applying this label hack set your label style to Cloud..


apply this hack by adding below CSS code just above/before ]]></b:skin> tag in your template,

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
.label-size {
    floatleft;
    margin0 0 7px 20px;
    positionrelative;
    font-family'Helvetica Neue'HelveticaArialsans-serif;
    font-size0.75em;
    font-weightbold;
    text-decorationnone;
    color#996633;
    text-shadow0px 1px 0px rgba(255,255,255,.4);
    padding0.417em 0.417em 0.417em 0.917em;
    border-top1px solid #d99d38;
    border-right1px solid #d99d38;
    border-bottom1px solid #d99d38;
    -webkit-border-radius: 0 0.25em 0.25em 0;
    -moz-border-radius: 0 0.25em 0.25em 0;
    border-radius: 0 0.25em 0.25em 0;
    background-image: -webkit-linear-gradient(toprgb(254218113), rgb(25418671));
    background-image: -moz-linear-gradient(toprgb(254218113), rgb(25418671));
    background-image: -o-linear-gradient(toprgb(254218113), rgb(25418671));
    background-image: -ms-linear-gradient(toprgb(254218113), rgb(25418671));
    background-image: linear-gradient(toprgb(254218113), rgb(25418671));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#feda71', EndColorStr='#feba47');
    -webkit-box-shadow: inset 0 1px 0 #faeaba,
        0 1px 1px rgba(0,0,0,.1);
    -moz-box-shadow: inset 0 1px 0 #faeaba,
        0 1px 1px rgba(0,0,0,.1);
    box-shadow: inset 0 1px 0 #faeaba,
        0 1px 1px rgba(0,0,0,.1);
    z-index1;
}
.label-size:before {
    content'';
    width1.30em;
    height1.39em;
    background-image: -webkit-linear-gradient(left toprgb(254218113), rgb(25418671));
    background-image: -moz-linear-gradient(left toprgb(254218113), rgb(25418671));
    background-image: -o-linear-gradient(left toprgb(254218113), rgb(25418671));
    background-image: -ms-linear-gradient(left toprgb(254218113), rgb(25418671));
    background-image: linear-gradient(left toprgb(254218113), rgb(25418671));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,StartColorStr='#feda71', EndColorStr='#feba47');
    positionabsolute;
    left-0.69em;
    top: .2em;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    border-left1px solid #d99d38;
    border-bottom1px solid #d99d38;
    -webkit-border-radius: 0 0 0 0.25em;
    -moz-border-radius: 0 0 0 0.25em;
    border-radius: 0 0 0 0.25em;
    z-index1;
}
.label-size:after {
    content'';
    width0.5em;
    height0.5em;
    background#fff;
    -webkit-border-radius: 4.167em;
    -moz-border-radius: 4.167em;
    border-radius: 4.167em;
    border1px solid #d99d38;
    -webkit-box-shadow: 0 1px 0 #faeaba;
    -moz-box-shadow: 0 1px 0 #faeaba;
    box-shadow: 0 1px 0 #faeaba;
    positionabsolute;
    top0.667em;
    left-0.083em;
    z-index9999;
}
#Label1 {
    height210px;
}
.label-size:hover {
    background-image: -webkit-linear-gradient(toprgb(254225141), rgb(254200108));
    background-image: -moz-linear-gradient(toprgb(254225141), rgb(254200108));
    background-image: -o-linear-gradient(toprgb(254225141), rgb(254200108));
    background-image: -ms-linear-gradient(toprgb(254225141), rgb(254200108));
    background-image: linear-gradient(toprgb(254225141), rgb(254200108));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#fee18d', EndColorStr='#fec86c');
    border-color#e1b160;
}
.label-size:hover:before {
    background-image: -webkit-linear-gradient(left toprgb(254225141), rgb(254200108));
    background-image: -moz-linear-gradient(left toprgb(254225141), rgb(254200108));
    background-image: -o-linear-gradient(left toprgb(254225141), rgb(254200108));
    background-image: -ms-linear-gradient(left toprgb(254225141), rgb(254200108));
    background-image: linear-gradient(left toprgb(254225141), rgb(254200108));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,StartColorStr='#fee18d', EndColorStr='#fec86c');
    border-color#e1b160;
}

Finally save your template and you are done.

No comments:

Post a Comment