prototypal-io / untitled-ui

MIT License
17 stars 8 forks source link

Component local breakpoints #43

Open jacojoubert opened 8 years ago

jacojoubert commented 8 years ago

Blocked on #46

@media css rules depend on the viewport size to enable css rules. The problem is when the same component gets used a multiple locations at different widths. There is no way to specify a break point based on the width of the component itself.

We should have a way to change a component's behaviour based not only based on the viewport size, but also on the component's size and bind to any changes.

Use Cases

image

image

image

image

ebryn commented 8 years ago