UNPKG

@patternslib/patternslib

Version:

Patternslib is a JavaScript library that enables designers to build rich interactive prototypes without the need for writing any Javascript. All events are triggered by classes and other attributes in the HTML, without abusing the HTML as a programming la

24 lines (21 loc) 568 B
<!DOCTYPE html> <html> <head> <title>Minimalpattern Demo</title> <meta charset="utf-8"> <link rel="stylesheet" href="/style/common.css" /> <script src="/bundle.min.js"></script> </head> <body> <h1>Minimalpattern examples</h1> <h2>Basic usage</h2> <div class="pat-minimalpattern">hello.</div> <h2>Custom color</h2> <div class="pat-minimalpattern" data-pat-minimalpattern="background-color: red" > hello. </div> </body> </html>