that means i would need css into every window i create… thought might be easier way
We can help you out in writing the CSS if given a clear picture of what you’re trying to achieve.
@media rule is pretty simple.
example:
/* for mobile devices or screens not wider than 768px */
@media (max-width:768px){
h1{ color: red; }
}
/* for tablets or screens not wider than 1024px and not smaller than 769px */
@media (min-width:769px) and (max-width: 1024px){
h1{ color: blue; }
}
/* for screens not smaller than 1025px */
@media (min-width:1025px){
h1{ color: green; }
}