UNPKG
kist-dochopper
Version:
latest (0.3.2)
0.3.2
0.3.0
Move elements on page depending on media query.
github.com/niksy/kist-dochopper
niksy/kist-dochopper
kist-dochopper
/
test
/
definition
/
api.html
4 lines
(2 loc)
•
252 B
HTML
View Raw
1
2
3
4
<div
data
-hop-from=
"hop3"
></div> <div class=
"hopper"
data
-hop-conditions='[{
"into"
:
"hop3"
,
"media"
:
"screen and (min-width:900px)"
},{
"into"
:
"hop1"
,
"media"
:
"screen and (min-width:1200px)"
},{
"into"
:
"hop2"
,
"media"
:
"screen and (min-width:1400px)"
}]'></div>