Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Take a New Look at CSS Shapes (2018) (smashingmagazine.com)
16 points by Tomte 11 months ago | hide | past | favorite | 6 comments


I had no idea you could flow text around an image's alpha channel, a CSS gradient, etc. - nice examples.


2018, wow. I have literally never seen any CSS use this in the intervening 7 years. I suppose text wrapping floats have fell a bit out of vogue.


I suspect the rise of mobile has something to do with it. A lot less space to creative with something like word wrapping when your primary audience is on a vertical phone screen.


I think the issue is that writing is cheap and development is not. You can probably find this kind of style in those "cool articles" that magazines/newspapers pull out every once in a while. The rest of them will be a classic text interlaced with images and videos.

You can probably find them on "cool product" websites, even if invisible. I'm sure vercel has a lot of new CSS everywhere.


Development is cheap when the backward compatibility target is IE10. You can safely ignore any CSS fanciness from post-2010.

This is still useful for web designers, even if it doesn't make it into a business website (most websites are created to sell something and target the lowest common denominator browser-wise).


I don't keep up on all advancements in CSS, but maybe I should try. I could imagine several current projects I'm working on that could benefit from this set of CSS features. I'm sure our front-end designers/developers haven't heard of this either, or they'd be using it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: