html - Slide out panel? -


i'm working on little project , have panel down, change "tab" position http://s26.postimg.org/5tr23ln9l/little_text.png hope can me, loves, bit of "newbie" here~

http://jsfiddle.net/2yhzt/

#purple { -webkit-border-radius: 4px;-moz-border-radius: 4px;border-radius: 4px; text-align: center; font-size: 11px; position:fixed; left:-50px; -webkit-transition: .5s ease-in-out; -moz-transition: .5s ease-in-out; -o-transition: .5s ease-in-out; x-index:999; } 


i think there wrong part;

demo

css

#purple {     -webkit-border-radius: 4px;     -moz-border-radius: 4px;     border-radius: 4px;     text-align: center;     position:fixed;     height:10px;     left:-50px;     -webkit-transition: .5s ease-in-out;     -moz-transition: .5s ease-in-out;     -o-transition: .5s ease-in-out;     x-index:999; } #purple:hover {     left:0px; } #purple:hover > div {     display: inline-block; } #red {     font-size: 11px;     background: #fefefe;     border:1px solid;     border-left:none;     padding:5px 0 5px 0;     width:100px;     height:10px;     x-index: 50; } #redtab {     -webkit-border-bottom-right-radius: 4px;     -webkit-border-bottom-left-radius: 0px;     -moz-border-radius-bottomright: 4px;     -moz-border-radius-bottomleft: 0px;     border-bottom-right-radius: 4px;     border-top-right-radius: 4px;     border-bottom-left-radius:0px;     border:1px solid;     border-left:none;     text-align: center;     height:10px;     padding:5px 0 5px 0;     width:25px;         font-size: 11px; } 


or demo according image example

css

#purple {     -webkit-border-radius: 4px;     -moz-border-radius: 4px;     border-radius: 4px;     text-align: center;     position:fixed;     height:10px; } #purple:hover > div {     display: inline-block; } #red {     font-size: 11px;     background: #fefefe;     border:1px solid;     border-left:none;     padding:5px 0 5px 0;     width:100px;     height:10px;     x-index: 50; } #redtab {     -webkit-border-bottom-right-radius: 4px;     -webkit-border-bottom-left-radius: 0px;     -moz-border-radius-bottomright: 4px;     -moz-border-radius-bottomleft: 0px;     border-bottom-right-radius: 4px;     border-top-right-radius: 4px;     border-bottom-left-radius:0px;     border:1px solid;     border-left:none;     text-align: center;     height:10px;     padding:5px 0 5px 0;     width:25px;         font-size: 11px; } 

Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -