News for hackers. Stuff that matters.
Re:AM – Attribute Modules for CSS by _lce0 on Friday September 05, 2014 @10:43AM (#8274101)
interesting approach! any real web/app using this technique?
Re:AM – Attribute Modules for CSS by germanforblack on Friday September 05, 2014 @11:06AM (#8274227)
Right now, the AM site, Glen's site and am-grid. This is the first time we've shared what we've been working on.
Re:AM – Attribute Modules for CSS by CatsoCatsoCatso on Friday September 05, 2014 @11:27AM (#8274391)
I hacked together a markdown editor with previews. To allow the user to change how an image was displayed they could put space separated options in the alt text values of the syntax.

eg. ![Cute-Cat aside max500px](/path/to/img.jpg)

Aside & max500px were then picked up the CSS using the images alt attribute as the selectors.

It was a terrible hack but it worked.

Re:AM – Attribute Modules for CSS by bensmithett on Friday September 05, 2014 @05:43PM (#8276479)
We're using it for a basic responsive grid on some Envato Market pages: https://themeforest.net/make_money/become_an_author