How to specify approximate margins in Galen Framework?

136 views Asked by At

I am using galen framework in a responsive designed website. And I need to check the elements by not giving fixed pixel amounts but percentages. For example I have to check one element to be on the left by approximately 10%. How can I say it in galen? I know how to say "approximately 10% width", but I have nothing to do woth the width and height here. I need to say approximately %10 left of screen.

Any help will be appreciated. Thanks!

1

There are 1 answers

1
hypery2k On

you could use ranges for that, see here:

width 10 % of screen/width 

or

inside screen ~10 % left