CSS Snippets WAUsefulSnippetsCSS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

CSS Snippets WAUsefulSnippetsCSS

keith1y
I think CSS should be renamed PIA...

in the meantime... Jetsam has a class for assembling CSS from methods,
and for parametizing elements (i.e. colors).

Today I have added a class WAUsefulSnippetsCSS

This provides a great place to contribute your favorite, cant do
without, snippets of css. I started by contributing a .clear
implementation (appended).

To use this:

Installer squeaksource project:'311'; install: 'Kernel-Extensions'.
Installer squeaksource project:'Jetsam'; install: 'Seaside28Jetsam'.

any thoughts as to other useful items that could be included?

Keith

===========================

css9000ClearFix

css << '
 
.clear:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clear {display: inline-block;
    clear: both;}

/* Hides from IE-mac \*/
* html .clear {height: 1%;}
.clear {display: block;}
/* End hide from IE-mac */
'
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside