Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: TrafficCop.html – A Mobile Friendly HTML5 Micro-Framework
2 points by crispytx on Jan 27, 2016 | hide | past | favorite | 2 comments
TrafficCop.html - A Mobile Friendly HTML5 Micro-Framework

Tired of "Responsive Web Design"? Check out TrafficCop! Simply create a mobile version of your website and place it between the <div class="mobile"> </div> tags, and then create a desktop version to be placed between the <div class="desktop"> </div> tags and you're done! You can check it out here:

    http://personalhomepage.xyz/TrafficCop-0.1.html
Right click and view source. Enjoy :)


This creates unlabeled duplicate content. It's a bad idea. Just change the CSS under the media queries as you're already doing.

Or if you're going to be creating two pieces of contents, do a subdomain (m.personalhomepage.xyz) and place a canonical tag.

There are many options, this isn't good standard.


Why would you be tired of responsive web design?




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

Search: