Welcome To Snipplr
Everyone's Recent Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
A better more accessible method to make buttons appear to be disabled upon click via css (with no javascript) Doesn't work in IE but does in other browsers.
3
990
posted 16 years ago by neal_grosskopf
Change the color and background color of selected text using only css. Compatible with Firefox and Safari, but not Internet Explorer
4
1105
posted 16 years ago by neal_grosskopf
Style external, email, and pdf links using css3 attribute selectors.
11
975
posted 16 years ago by neal_grosskopf
Si miramos al horizonte empieza a deslumbrar el futuro del CSS, con la salida de CSS3 la vida de los diseñadores web va a mejorar considerablemente y no es para menos, por que con las mejoras que se están acercando ¿quien no se aprovechará de ell...
4
833
posted 16 years ago by j_junyent
The selector portion of the CSS rule targets which XHTML tags/classes this rule will be applied to. At first glance, it looks like all img tags as well as all tags with a class of "png". You’ll notice the * html in front of both of these. Wait, the...
15
2938
posted 17 years ago by jonhenshaw
Writing expressions in CSS, used to make decisions at run-time.
2
859
posted 17 years ago by jitendramr
Sitepoint have this useless but cool feature if you hold down the middle click to autoscroll the page - they have replaced the image that indicates scrolling
1
676
posted 17 years ago by natalie
Removes the core, and node styles from the $style variable.
You most morbably already defined _phptemplate_variables($hook, $vars), in that case just add the two lines there.
_sympal_theme.. is the name of the theme where we use this.
3
892
posted 17 years ago by berkes
The escape_javascript funtion is taken from Rails (http://rails.rubyonrails.com/classes/ActionView/Helpers/JavaScriptHelper.html#M000633). Most of the work on this was done by pnomolos and n00ge on the E Text Editor forums.
1
835
posted 17 years ago by charlesroper
displays sourcecode in a nice notebox on blog pages. uses with a class.
0
789
posted 17 years ago by zingo
Put classes around your bodyy, to allow different colors for seperate pages and areas on your site.
IT will simply add a css-safe version of the first argument in an url. Say the url is /about_us/our_company the class will be
body.about-us
Require...
2
795
posted 17 years ago by berkes