jamesshore / quixote

CSS unit and integration testing
Other
848 stars 45 forks source link

Ability to test different visual breakpoints for responsive CSS? #8

Closed benfrain closed 9 years ago

benfrain commented 9 years ago

I'm just looking to set up CSS testing for an App I'm working on. I've been looking at a few options and I'm liking the look of Quixote.

However, one thing I'm curious about. I'd like to test some visuals at certain breakpoints as it is a responsive app. So, in laymans terms, it would be great if I could effectively ask Quixote, 'at 600px plus, is .hdr-Logo 11px from .hdr-Nav' for example.

Can Quixote facilitate this? Couldn't find anything specific in the

Thanks, Ben

jamesshore commented 9 years ago

Hi Ben, thanks for giving it a try. You should be able to use frame.resize(width, height) to do what you want. It's documented here.

benfrain commented 9 years ago

Ah! Fantastic. Sorry I missed that.

On 5 Jan 2015, at 17:39, James Shore notifications@github.com wrote:

Hi Ben, thanks for giving it a try. You should be able to use frame.resize(width, height) to do what you want. It's documented here.

— Reply to this email directly or view it on GitHub.