Allows you to add the device mockups plugin to a cms page
Project description
An extension for Django CMS that adds the Device Mockups CSS library to elements on DjangoCMS.
Installation
Install with pip pip install djangocms-device-mockups
Add djangocms_device_mockups to INSTALLED_APPS
Run migrations python manage.py migrate
Usage
See notes here: https://github.com/pixelsign/html5-device-mockups
After installation simply add the plugins to the page.
Notes
If putting onto a background, ensure the background has both position and z-index < -1.
Main CSS will limit device size to 300px, set .device-wrapper { max-width: 100%; ..} to make it responsive/resize etc.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for djangocms-device-mockups-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 114b6e6c0f0ce3d071643e0279db889033a56fa1a65b54ffd11fed0b7c395e99 |
|
MD5 | b154141dd4ab8768c51f098f5974d20f |
|
BLAKE2b-256 | fd66981d50354ee9c875433c67d49c4ecc9ebeac36f02908f980cb7c5204e350 |
Close
Hashes for djangocms_device_mockups-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48eaa582c6cabc9831a74500271da3756f117bd70806462543ee141d4ebeb5e8 |
|
MD5 | 8c5278b1975529a6e772be278fc3328e |
|
BLAKE2b-256 | 478fc5df8d0e1e1a222b7293a5a5cbe72c33843a75e8cf6fa45d41c107d44c26 |