benschwarz / metaquery

A declarative responsive web design syntax. Breakpoints, defined in `<meta>`
MIT License
324 stars 25 forks source link

Switch breakpoint name from data attribute to content attribute. #9

Closed jonathantneal closed 11 years ago

jonathantneal commented 11 years ago

It is generally accepted that the content attribute represents the value of the meta element.

<meta name="breakpoint" content="phone" media="(max-width: 480px)">

http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-meta-element http://www.w3.org/wiki/HTML/Elements/meta https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta

name — Metadata name content — Value of the element

benschwarz commented 11 years ago

I'm good with this… not sure why I made the original decision with the data attribute

jonathantneal commented 11 years ago

Woohoo! I contributed something to the internet! YES! YES! YEEEEEEEEEEEEEEAAA BUUUUUUUUUUDYYYYYYY! YEEEEEEEEE HAAAAAA! ALL RIIIIIGHT! YEAAAAA!!!

benschwarz commented 11 years ago

tumblr_m91ybwzzkv1qgauylo1_400