If you go up a directory, there are some other neat things in CSS: http://playground.deaxon.com/css/
I especially like his Custom Checkboxes: http://playground.deaxon.com/js/custom-checkboxes/
21–30 of 114 posts
If you go up a directory, there are some other neat things in CSS: http://playground.deaxon.com/css/
I especially like his Custom Checkboxes: http://playground.deaxon.com/js/custom-checkboxes/
Looks great. Does this work cross-browser? (besides the transition effect) Also, is there any documentation/github repos?
Earlier quoted context omitted.
Minor reasons: less performant than Javascript solutions (the transition is sluggish and jittery in Chrome for me) and the fact that I have to click a little target to shrink it back, whereas most Javascript solutions will let me hit Escape or click elsewhere on the page to shrink it back. Major reason: Separation of concerns: CSS is for appearance, Javascript is for behavior. They don't work well trying to do the ot…
I also noted the sluggishness that you point out. Do you know the reason? Is it something that could be corrected by changing some parameter in the CSS?
Earlier quoted context omitted.
Because it breaks the paradigm of HTML = Content CSS = Style / Design JS = Interaction Once you start to mix them up you start down a hair path
Lightbox functionality encompasses the JS domain (since user is interacting with the page) as well as CSS domain (since the change that is happening on the page is purely of style/design). So, the breakup which you have given does not unequivocally argue for the use of JS.
Is it just me or is the Lighbox effect really annoying? What's wrong with middle-clicking an image and having it open in a new tab?
- my grandma, who has a scroll wheel in the middle of her mouse
Looks great. Does this work cross-browser? (besides the transition effect) Also, is there any documentation/github repos?