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

35 lines (33 loc) 992 B
<!DOCTYPE html> <html> <head> <title>focus pattern demo</title> <meta charset="utf-8"> <link rel="stylesheet" href="/style/common.css" /> <script src="/bundle.min.js"></script> </head> <body> <form> <h2>Form one</h2> <fieldset class="horizontal"> <label >Title <input type="text" name="title" value="Ms." /></label> <label >Keywords <input type="text" name="keywords" placeholder="patterns browser" /></label> </fieldset> </form> <form> <h2>Form two</h2> <fieldset class="horizontal"> <label for="title">This is a non-parent label.</label> <input type="text" name="title" /> </fieldset> </form> </body> </html>