Jump to content

Recommended Posts

Posted

I used the checkbox hack and the new flex box properties to make a pure css flyout menu. It validates but not sure as to what the future might be for this trick. I'd rather not turn to javascript so for now I'm thinking about deploying this menu. Take a look at demo at chicagophil.com. So far I know Opera browser doesn't work but firefox, safari, and chrome all seem a go. What are your thoughts?

Posted

It looks fine to me; I'm using Opera 12.16 and it works fine. CSS3 user-select doesn't work in Opera mini however. You may want to add some prefixr to your code however to account for older browsers.

 

e.g.

 

label {

cursor: pointer;

 

-webkit-user-select: none;

-moz-user-select: none;

-ms-user-select: none;

user-select: none;

height: 30px;

position: absolute;

width: 40px;

top: 0px;

}

 

 

#content {

display: block;

clear: both;

width: 100%;

background-color: lightblue;

padding: 8px;

min-width: 90%;

 

-webkit-box-sizing: box-border;

-moz-box-sizing: box-border;

-ms-box-sizing: box-border;

box-sizing: box-border;

}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...