Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
HTML:
<div id="content">
тук си слагаш текстове картинки и т.н.
</div>
CSS:
#content {
margin:0 auto;
width:900px;
}
//тук вече можеш да си слагаш цветове, рамки и глупости ..
width = screen.width;
if(width <= 1024) {
document.write("<link type=\"text/css\" href=\"линк към малък CSS\" rel=\"stylesheet\" />")
} else {
document.write("<link type=\"text/css\" href=\"линк към CSS\" rel=\"stylesheet\" />")
}