I’m using the grails resources plugin for my CSS and would like to know if there is a way to add media queries to the resource.
So I’d like to take the media query from the below source:
<link rel="stylesheet" media="screen and (max-width:500px)" href="/css/stylesheet.css" type="text/css">
And add it into the resource format:
resource url: ‘/css/stylesheet.css’
You can define it in the resource DSL with
attrsproperty, like: