UNPKG

@i-is-as-i-does/valva

Version:

Vâlvă is a small JS library for elegant transitions.

61 lines 1.52 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Valva Demo</title> <style> html { margin-left: calc(100vw - 100%); } h2 { padding-top:20px; } body { width: 400px; margin: 0 auto; font-family: Arial, Helvetica, sans-serif; font-size:14px; color:#333; padding:20px 0 70px 0; } a { color:#333; margin:1em 0 3em 0; display: block; } aside { font-size: 12px; } div { padding:10px 0; } div > span{ background-color: #f5f5f5; display: block; padding:10px; } label, input, button, select { margin-bottom:10px; display: block; outline: none; } input:not([type="checkbox"]), button, select { box-sizing: border-box; width:150px; height:25px; border:1px solid #cacaca; } </style> </head> <body> <aside> This project is under the MIT License.<br> (c) I-is-as-I-does<br> </aside> <a href="https://github.com/I-is-as-I-does/Valva" target="_blank">Repository</a> <script src="./ValvaAs.min.js"></script> <script src="./Valva-demo.js"></script> </body> </html>