Multi-Screen CSS

It’s been some time now that I’m working on a simple game for mobile devices and I’ve chosen Phonegap to build it. Usually when you dive into a new technology and start learning it you discover a lot of problems and you become extremely happy when you solve them. So in this post I will try to describe how I’ve managed to organize my CSS code to make the application adjust to different devices and at the same time minimize the changes I have to make to other parts of the application (like HTML and Javascript). It’s a fairly new problem I’ve encountered so a lot might change to my solution but if that happens I can always post a second article.

Continue reading