Which are important for responsive web pages.
Media rules can be only in CSS files or <style> tags. It is not possible to put it inline.
So probably we will need to add new special type of rule: MediaRule which will take @media parameters
and add it into <style> element where every styles rule will describe styles for various size of app (phone, tablet, desktop, etc.):
I think about how to support creating web responsive pages in Jaspr. I realized that we didn't implement
@media
rules:Which are important for responsive web pages. Media rules can be only in CSS files or
<style>
tags. It is not possible to put it inline.So probably we will need to add new special type of rule:
MediaRule
which will take@media
parameters and add it into<style>
element where every styles rule will describe styles for various size of app (phone, tablet, desktop, etc.):@schultek What do you think about it?