ul{
margin:0;
padding:0;
}

li{
display:inline;
list-type:none;
}

a.glidebutton{
display: inline-block;
position: relative;
color: #4A4A4A; /* default color */
background: #c1c1c1; /* default bg color */
text-decoration: none;
font: 13pt Trebuchet MS; /* font settings */
letter-spacing: 0px; /* font settings */
overflow: hidden;
height: 30px; /* height of each button */
text-align: center;
border-radius: 0px; /* border radius */

}

a.glidebutton > span:first-child{ /* first span inside button */
position: relative;
display: block;
height: 100%;
padding: 5px 33px 7px 33px; /* padding of button */
-moz-box-sizing: border-box;
box-sizing: border-box;

}

a.glidebutton > span:first-child:after{ /* CSS generated content */
content: attr(data-text); /* Duplicate text of span markup */
display: block;
width: 100%;
height: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: inherit;
position: absolute;
top:100%;
left:0;
}

a.glidebutton:hover{
color: white; /* color of button on hover */
text-decoration: none;
background: #757575; /* bg color of button on hover */
box-shadow: 0 0 4px green inset;
}





a.slidebutton{
display: inline-block;
position: relative;
color: #4A4A4A; /* default color */
background: #ffcb00; /* default bg color */
text-decoration: none;
font: 13pt Trebuchet MS; /* font settings */
letter-spacing: 0px; /* font settings */
overflow: hidden;
height: 30px; /* height of each button */
text-align: center;
border-radius: 0px; /* border radius */
-moz-transition: all 0.3s ease-in-out; /* Enable CSS transition between property changes */
-webkit-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}

a.slidebutton > span:first-child{ /* first span inside button */
position: relative;
display: block;
height: 100%;
padding: 5px 18px 7px 18px; /* padding of button */
-moz-box-sizing: border-box;
box-sizing: border-box;
-moz-transition: all 0.3s ease-in-out; /* Enable CSS transition between property changes */
-webkit-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}

a.slidebutton > span:first-child:after{ /* CSS generated content */
content: attr(data-text); /* Duplicate text of span markup */
display: block;
width: 100%;
height: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: inherit;
position: absolute;
top:100%;
left:0;
}

a.slidebutton:hover{
color: white; /* color of button on hover */
text-decoration: none;
background: #757575; /* bg color of button on hover */
box-shadow: 0 0 4px green inset;
}

a.slidebutton:hover > span:first-child{
-moz-transform: translateY(-100%);
-webkit-transform: translateY(-100%);
-ms-transform: translateY(-100%);
-o-transform: translateY(-100%);
transform: translateY(-100%);
}