I want to create a rule on mobile and desktop side. I can do this with the user-agent, but it would be a very risky and laborious process.
For this reason, can I create a rule based on screen width? For example, can I create a rule for users whose screen width is smaller than 400px?