toggle-viewport:
[ This description is mirrored from README.md at github.com/goiblas/toggle-viewport on 2019-05-10 ]
<toggle-viewport>
Component for preview a site with different viewport
To Use
Import the component
<link rel="import" href="toggle-viewport.html">
Use the tag with attribute url that you prefer, for example:
<toggle-viewport url="https://www.polymer-project.org/"></toggle-viewport>
Styling
The following custom properties are available for styling:
Custom property | Default |
---|---|
--header-color |
#202020 |
--body-color |
#262626 |
--active-color |
#1a88ef |