UNPKG

metro4

Version:

The front-end framework for Build responsive, mobile-first projects on the web with the first front-end component library in Metro Style

36 lines (30 loc) 979 B
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <link href="../metro/css/metro-all.css?ver=@@b-version" rel="stylesheet"> <title>Test Draggable - Metro 4 :: Popular HTML, CSS and JS library</title> <style> .map-wrapper { width: 300px; height: 300px; overflow: hidden; } .box { background: transparent url("../images/1.jpg") top left no-repeat; background-size: cover; width: 1280px; height: 720px; } </style> </head> <body class="m4-cloak d-flex flex-align-center flex-justify-center"> <div class="map-wrapper"> <div class="box" data-role="draggable" data-boundary-restriction="false"></div> </div> <script src="../metro/js/metro.js?ver=@@b-version"></script> <script> </script> </body> </html>