This website provides a very simple and easy to use, incredibly valuable facility to show you how CSS3 elements can be created and all the code you need to make it work! Fab!
http://www.createcss3.com/
Showing posts with label css tricks. Show all posts
Showing posts with label css tricks. Show all posts
Wednesday, 11 September 2013
Friday, 19 July 2013
CSS tips and information
Just really useful article about all the weird quirks about CSS
http://tympanus.net/codrops/2013/07/17/troubleshooting-css/
http://tympanus.net/codrops/2013/07/17/troubleshooting-css/
Thursday, 17 February 2011
CSS3 and HTML5 compatibility help
On http://caniuse.com You can search for a css property, it’ll tell you what browsers support it and any prefixes needed for support in some browsers (like –moz-gradient), and links to some groovy on-line editors that let you play with sliders to create some CSS effects and give you the resulting CSS code, and also links to related resources like IE workarounds.
Tuesday, 16 March 2010
When can I use....
Here's another gem, all browsers, compatibility in table format for each different rule...
http://a.deveria.com/caniuse/ wicked!
http://a.deveria.com/caniuse/ wicked!
CSS 3 - help
If you're keen as mustard to get cracking on some css3 gems, but not sure about the cross browser thang, looky here! http://css3please.com/
Tuesday, 10 November 2009
CSS tips and a really hand resource - stylizedweb.com
put simply this is a fantastic resource!
http://stylizedweb.com/
http://stylizedweb.com/
Wednesday, 21 October 2009
Float objects - css
A useful reminder list of rules from another great article from Smashing Magazine
http://www.smashingmagazine.com/2009/10/19/the-mystery-of-css-float-property/
Following is a list of exact behaviours of floated elements according to CSS2 Specifications:
* A left-floated box will shift to the left until its leftmost margin edge (or border edge if margins are absent) touches either the edge of the containing block, or the edge of another floated box
* If the size of the floated box exceeds the available horizontal space, the floated box will be shifted down
* Non-positioned, non-floated, block-level elements act as if the floated element is not there, since the floated element is out of document flow
* Margins of floated boxes do not collapse with margins of adjacent boxes
* The root element (html)tag cannot be floated
* An inline element that is floated is converted to a block-level element
http://www.smashingmagazine.com/2009/10/19/the-mystery-of-css-float-property/
Following is a list of exact behaviours of floated elements according to CSS2 Specifications:
* A left-floated box will shift to the left until its leftmost margin edge (or border edge if margins are absent) touches either the edge of the containing block, or the edge of another floated box
* If the size of the floated box exceeds the available horizontal space, the floated box will be shifted down
* Non-positioned, non-floated, block-level elements act as if the floated element is not there, since the floated element is out of document flow
* Margins of floated boxes do not collapse with margins of adjacent boxes
* The root element (html)tag cannot be floated
* An inline element that is floated is converted to a block-level element
Tuesday, 29 September 2009
Full of loveliness
Just stumbled across a nice site http://www.queness.com/ full of things like a set of inspiring headers and footers, tips and fixes and useful things.
Wednesday, 16 September 2009
Wednesday, 9 September 2009
IE layout bug - adding borders fixes - zoom:1;
suffrin, huffrin, suffrin **!@##!! IE for CSS styling...
If adding borders fixes the problem for the display in IE then add the line
zoom:1;
to your css rule
go and google the "haslayout bug" for details.
If adding borders fixes the problem for the display in IE then add the line
zoom:1;
to your css rule
go and google the "haslayout bug" for details.
Wednesday, 28 January 2009
CSS / XHTML 3 column layout, inc background img
I've just worked out a way to have longish background images in columns 1 & 3 while the content in column 2 defines how much the page extends.
Explanation:
Create a containing DIV for the whole width of the page between header and footers and add a class with the column 1 background image left aligned, use the ID for all the other styling.
Then inside the containing DIV add a content DIV (to include columns 2 & 3), again use a class to include the column 3 background image right aligned, and use the ID with a float: left; and positioning so the margins, padding and width ensure the content area doesn't overwrite the background image on on column 3.
To fix the margin errors that cause IE6 to display things all skeewiff, use an IE 6 fix style sheet.
I haven't finished yet, so this might not work, but I'm pretty hopeful so far!
Explanation:
Create a containing DIV for the whole width of the page between header and footers and add a class with the column 1 background image left aligned, use the ID for all the other styling.
Then inside the containing DIV add a content DIV (to include columns 2 & 3), again use a class to include the column 3 background image right aligned, and use the ID with a float: left; and positioning so the margins, padding and width ensure the content area doesn't overwrite the background image on on column 3.
To fix the margin errors that cause IE6 to display things all skeewiff, use an IE 6 fix style sheet.
I haven't finished yet, so this might not work, but I'm pretty hopeful so far!
Labels:
3 column layout,
background images,
css tricks,
XHTML
Friday, 31 October 2008
css-tricks.com
If you have anything to do with XHTML and CSS this is a most useful little demo.
http://css-tricks.com/videos/css-tricks-video-40.php
It explains z-index positioning for css.
really useful, very well explained.
http://css-tricks.com/videos/css-tricks-video-40.php
It explains z-index positioning for css.
really useful, very well explained.
Subscribe to:
Posts (Atom)