wh33t — 2012-12-19T13:11:10-05:00 — #1
I've never posted anything related to design on these forums because I never attempt to do any design. Normally I rely on designers that I work with to do that for me, but I'm working on a personal project (kind of like my own CMS) and I would like to be able to add some style flair to it. The catch is that I don't want to use any graphics, but if need be I will (custom logo, custom bullets etc). So I've been trying to scour the web looking for CSS templates and the like but all of them are quite image heavy and I figured some of you designers out there might know of some good websites that show off just how much CSS can do without images or perhaps have learned some tricks along the way to achieve this. My main goal is to make the majority of the website's layout and appearance customizable through the CMS itself. While this isn't difficult for me to program, it's difficult for me to design, so any tips in the right direction would be great. Ultimately I hope to end up with a website that isn't hideously ugly which for me is quite a challenge.
Thanks in advance.
picnictutorials — 2012-12-19T13:52:51-05:00 — #2
wh33t — 2012-12-19T14:01:02-05:00 — #3
Wow, that's super relevant to what I'm hoping to find! Thank you.
picnictutorials — 2012-12-19T15:32:51-05:00 — #4
picnictutorials — 2012-12-19T15:40:42-05:00 — #5
Wow this is a good resource I just found http://daneden.me/animate/
wh33t — 2012-12-19T16:19:59-05:00 — #6
More awesomeness! Keep em coming!
May I ask, if you know, what is up with the "after" word that keeps appearing in these CSS examples?
ralphm — 2012-12-19T19:02:45-05:00 — #7
This page will explain it better than I can:
wh33t — 2012-12-19T20:27:09-05:00 — #8
Hrm, I'm very confused. Why would you want to render something after it's been rendered? I don't understand the point of it?
ronpat — 2012-12-19T21:24:02-05:00 — #9
The pseudoclasses :before and :after create "generated" content. Stuff that can be rendered without adding more HTML.
It's incredibly useful. The example in the middle of the page that Ralph suggested shows a simple application of :after. You might wonder why that couldn't have been done in the HTML, and indeed it could have. (Remember, this is just an example.) The point is that the additional piece is being rendered without having added it to the HTML. You'll catch the wave after you have seen it in action (small pun intended).
wh33t — 2012-12-20T00:06:28-05:00 — #10
How is this useful? Can you give me a real world example of where / when this might be useful? I still don't quite understand. Putting content in a style sheet seems like a bad idea for all kinds of reasons.
ralphm — 2012-12-20T00:14:53-05:00 — #11
Obviously it's not a great idea to use :before and :after for important content, but it's incredibly useful for a whole range of styling needs—saving you from needing extra elements in the HTML to do things that are merely presentational. This article has an interesting discussion:
One use he makes of these is to add tick marks to visited links.