Advertisement

Posts Tagged ‘css’

10|01

A Crash Course in CSS

I have a friend who is wanting to get into HTML and CSS. He has a good understanding of HTML tags, but didn’t know anything about CSS.

I wrote up this quick HTML file as a crash course in CSS. I’ve decided to share it with everyone, maybe it’ll help at least one person.

Not bad for a 1 minute tutorial, should be a new record!

Continue reading

09|28

Combine Your CSS Files with PHP

I like to work with multiple CSS files. I also like to limit the number of HTTP request my site/app is making.

I’ve seen a couple methods on the Internet of using PHP to combine your files and decided to use some of those methods in my own little script.

Basically this script lives in your CSS folder. It grabs every file, opens it up, takes the content and then mashes it all together. It also takes our new content and strips any comment and white space to create a new compressed file.

Continue reading

09|26

Slim WordPress Stylesheet

The wordpress style-sheet can be a little bit daunting/confusing especially if you’re new to wordpress. It’s broken up into multiple sections with repeating blocks of elements.

I’ve stripped it down and this is the CSS I use when starting with a wordpress site.

It’s valid CSS but take it with a grain of salt as it’s not for everyone. It’s helped me and I hope it helps you!

Continue reading