|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
In memoriam
![]() ![]() Join Date: May 2006
Location: Aurora, Illinois
Posts: 15,648
|
Notice: This is a discussion thread for comments about the SitePoint article, CSS Angles: Just the Edge Your Web Page Needs!.
__________ Okay, this is definately original. I like the idea, though the DIV around the list definately doesn't sit well with me (as any SitePoint regular will know). I'll play around with this and see if the DIV really is necessary. Oher than that, this may be one of the best advances in CSS I've seen in over five years. And on that note, I'll close by saying you've more than earned the praise you'll be getting from others who will comment later. Congratulations on a well-written article that actually advances CSS based Web development. |
|
|
|
|
|
#2 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Aug 2008
Posts: 250
|
I guess my lack of understanding of this article is a sign that it's really good! I wish the 'in between' steps were given. As it is, understanding the process will require experimentation and trial-and-error. Fair enough, I guess, but it's a shame to have to re-invent the wheel (or triangle). I don't have time!
|
|
|
|
|
|
#3 | ||||
|
Nicking the Bevel
![]() ![]() ![]() Join Date: Nov 2008
Location: The Open Road
Posts: 350
|
A gimmick at best. I don't see the point of this at all.
Quote:
How much pride in CSS do you have to have to go this far out of your way to avoid using an image?Quote:
Quote:
Quote:
|
||||
|
|
|
|
|
#4 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2004
Location: The Kingdom of Denmark
Posts: 2,178
|
I always love CSS articles that push the envelope. Great job!
|
|
|
|
|
|
#5 | |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Sep 2006
Location: Nottingham, UK
Posts: 2,519
|
While it's a good technique and can probably be expanded to use for other things, I think it is used a very specific kind of design. I'm not sure I like the way the shelf thing looks, still looks quite boxy to me. I think I would rather use an image so you can do things like give the shadow a fuzzy edge etc.
Quote:
I agree it's no problem generally to have a tiny image (probably less than 1kb, more like 400 bytes or less as a gif) for decoration. |
|
|
|
|
|
|
#6 |
|
SitePoint Zealot
![]() ![]() Join Date: Nov 2008
Posts: 159
|
WOW! what a nice blog about CSS....
I can't imagin befor it that we can make triangle with CSS too... If we can make triangle then we make other shapes too like polygon.... |
|
|
|
|
|
#7 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Sep 2006
Location: Nottingham, UK
Posts: 2,519
|
A rhombus/rhomboid would be possible, hexagon wouldn't be very difficult either. Octagon would be possible. I don't think much else would..
|
|
|
|
|
|
#8 | |
|
SitePoint Enthusiast
![]() Join Date: Feb 2007
Location: Wales, United Kingdom
Posts: 79
|
Quote:
Nice article though. Definitely food for thought! |
|
|
|
|
|
|
#9 |
|
Proud new dad!
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2005
Location: Atlanta
Posts: 2,309
|
I guess for the CSS purists who cringe at an image like a vampire at a stake this is awesome news.
|
|
|
|
|
|
#10 |
|
Nicking the Bevel
![]() ![]() ![]() Join Date: Nov 2008
Location: The Open Road
Posts: 350
|
|
|
|
|
|
|
#11 |
|
SitePoint Zealot
![]() ![]() Join Date: Sep 2006
Location: CT
Posts: 153
|
I can appreciate the forward looking CSS3 tutorials, such as this one. They're great for testing purposes. When that wagon rolls around, I'll be ready to jump right on.
|
|
|
|
|
|
#12 |
|
Nicking the Bevel
![]() ![]() ![]() Join Date: Nov 2008
Location: The Open Road
Posts: 350
|
|
|
|
|
|
|
#13 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Sep 2006
Location: Nottingham, UK
Posts: 2,519
|
This isn't CSS3...
|
|
|
|
|
|
#14 |
|
SitePoint Mentor
![]() Join Date: Oct 2006
Location: New Zealand
Posts: 2,248
|
They are referring to the stuff on the second page, like this:
CSS Code:
The first page is just standard CSS though, that has all been possible for quite some time now even in older browsers. I remember when I first started coding CSS I spent hours pain stakingly creating a proper fade -out shadow effect for all of my images by wrapping a bunch of DIV tags around each one. I'm too lazy for that now and use images instead. It also leads to hideous code bloat, but it does look nice and loads quickly. If there are images with multiple sizes which require the shadows, then it actually requires less code than using images too. |
|
|
|
|
|
#15 |
|
SitePoint Member
Join Date: Dec 2008
Location: Dallas , Tx
Posts: 1
|
thats really is a neat idea
|
|
|
|
|
|
#16 |
|
SitePoint Member
Join Date: Feb 2008
Location: Santa Monica, CA
Posts: 9
|
Wow, thanks for all the great comments...
@Dan - Not even sure what to say, but thanks. And...no, the DIV is not technically necessary, you could achieve the same effect by moving the ID to the <UL>, but generally if this was used as navigation, I would wrap it in a "nav" DIV as I try to dump all page navigation into a "nav" DIV, you can see it on my web site (csskarma) @Aarem is there a specific step that was unclear? @dcfauno It's more to show you what kind of power you have with manipulating basic CSS. I'm not sure about everyone else, but I take a good amount of pride in using as few images as possible. I think it's much easier fo a client to update by themselves wince they don't need any photo editing software. @stormrider I'd like to see some ways people modify this technique, I hope it catches on a little! @conradical ironically, the CSS purist rarely sees the light of day too! @ryanhellyer I'm really looking forward to being able to use that CSS3, hopefully in the nest couple years @C. Ankerstjerne @ipcinstantcash70 @busylinks1 @jonpenny @somecallmejosh Thanks, much appreciated! |
|
|
|
|
|
#17 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Sep 2006
Location: Nottingham, UK
Posts: 2,519
|
For the ultimate in CSS border angles/art, I still like the 3d maze project:
http://www.brothercake.com/games/und...derground.html |
|
|
|
|
|
#18 | |
|
John 8:24
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Sep 2007
Location: Florida
Posts: 1,083
|
I really like this article i never knew you could do that. With the triangle you could use it at a corner of a square and shade it a little making it look like a folded piece of paper also, Im suprised that example wasn't used since you see the little paper fold on a lotta websites.
Quote:
That'd be crazy if people started drawing in CSS and made a CSS picture generator, the markup would probably add up larger than a image I bet. |
|
|
|
|
|
|
#19 | |
|
Nicking the Bevel
![]() ![]() ![]() Join Date: Nov 2008
Location: The Open Road
Posts: 350
|
Quote:
But I definitely agree that you can do a lot of great things with CSS. |
|
|
|
|
|
|
#20 |
|
SitePoint Member
Join Date: Dec 2008
Posts: 0
|
This is pretty awesome. But here comes the question... Does it work in IE6/7/8?
|
|
|
|
|
|
#21 |
|
SitePoint Member
Join Date: Feb 2008
Location: Santa Monica, CA
Posts: 9
|
@GCheung55 in IE6 the last list item hangs off the shelf a little (very fixable with !important). IE8 Beta 2 it works fine (regular and compatibility view), and if I remember correctly, IE7 works fine too
|
|
|
|
|
|
#22 |
|
SitePoint Member
Join Date: Mar 2006
Posts: 1
|
Excellent article Tim. I recently played around with some CSS border/angles and was able to put together a really visually-interesting and lightweight effect. I think this is a technique that is under-utilized and very powerful.
My sense is that this article is intended as a proof of concept, and that the author is leaving the creative real-world applications up to us. |
|
|
|
|
|
#23 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2005
Posts: 1,405
|
It looks nice but I don't understand why use CSS to design images.
I makes me think of an attemp to code a CSS file that displays a photographic image, by setting colored divs for every pixel of the image. |
|
|
|
|
|
#24 |
|
SitePoint Enthusiast
![]() Join Date: Nov 2007
Posts: 53
|
glenngould, I've tried the color div thing. Actually, I used PHP to take an image and convert it into 1px horizontal rules (less code than an opening and closing div), matching each rule to each pixel. It works, but it takes forever to load because of massive amount of HTML needed to create an image with horizontal rules. I tried it thinking I could invent a new and more efficient way of displaying images - but it didn't work. Oh well.
|
|
|
|
|
|
#25 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Nov 2005
Posts: 1,405
|
sitehatchery,
When I was a little kid, I saw the first scanned bitmap image in my life on a computer, which was a Beatles photo, I was already playing with MacPaint at that times and I was impressed. The reason I was impressed was that I thought the Beatles bitmap was designed with the pencil tool, filling every single pixel by hand I could never decide if this was possible or not for quite a long time. Well, it's that very Beatles photo that makes me learn what is a pixel actually ![]() |
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 09:34.







How much pride in CSS do you have to have to go this far out of your way to avoid using an image?


I agree it's no problem generally to have a tiny image (probably less than 1kb, more like 400 bytes or less as a gif) for decoration.

I could never decide if this was possible or not for quite a long time. Well, it's that very Beatles photo that makes me learn what is a pixel actually 


Linear Mode
