|
| 1 | +<!DOCTYPE html> |
| 2 | + |
| 3 | +<html lang="en-us"> |
| 4 | +<head> |
| 5 | + <meta charset="UTF-8"> |
| 6 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 7 | + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> |
| 8 | + |
| 9 | + <title>TPX Forms</title> |
| 10 | + |
| 11 | + <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> |
| 12 | + <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/default.min.css"> |
| 13 | + <!--<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> --> |
| 14 | + |
| 15 | + <link rel="stylesheet" href="docs.css"> |
| 16 | + <link rel="stylesheet" href="tpxforms.min.css"> |
| 17 | + |
| 18 | +</head> |
| 19 | + |
| 20 | +<body> |
| 21 | + |
| 22 | +<section> |
| 23 | + <div class="mainpanel"> |
| 24 | + <h1 class="tpx-logo">tpx<span>Forms</span></h1> |
| 25 | + <h3 class="tpx-desc">An enhanced version of some of the html form elements written only in css.</h3> |
| 26 | + <p>Created by: <a href="http://themepixels.com/">@themepixels</a> |
| 27 | + |
| 28 | + <p class="tpx-social"> |
| 29 | + <a href="https://github.com/themepixels/tpxforms" class="github"><i class="fa fa-github"></i></a> |
| 30 | + <a href="http://twitter.com/themepixels" class="twitter"><i class="fa fa-twitter"></i></a> |
| 31 | + <a href="https://dribbble.com/themepixels" class="dribbble"><i class="fa fa-dribbble"></i></a> |
| 32 | + <a href="https://www.behance.net/themepixels" class="behance"><i class="fa fa-behance"></i></a> |
| 33 | + </p> |
| 34 | + |
| 35 | + <hr> |
| 36 | + |
| 37 | + <h2 class="sectitle">Radios</h2> |
| 38 | + <p class="secdesc">Use the available syntax below to use the enhanced radio box.</p> |
| 39 | + |
| 40 | + <pre><code class="html"><label class="tpx-radio"> |
| 41 | + <input type="radio"> |
| 42 | + <span></span> |
| 43 | + Default Radio |
| 44 | +</label></code></pre> |
| 45 | + |
| 46 | + <p>To create a custom design, we use the <code><span></code> element as an indicator to the input radio which is hidden within the <code><label></code>.</p> |
| 47 | + |
| 48 | + <h4 class="subtitle">Examples:</h4> |
| 49 | + <div> |
| 50 | + <label class="tpx-radio"> |
| 51 | + <input type="radio" name="radio1" value="1"> |
| 52 | + <span></span> |
| 53 | + Default Radio 1 |
| 54 | + </label> |
| 55 | + <label class="tpx-radio"> |
| 56 | + <input type="radio" name="radio1" value="2"> |
| 57 | + <span></span> |
| 58 | + Default Radio 2 |
| 59 | + </label> |
| 60 | + <label class="tpx-radio"> |
| 61 | + <input type="radio" name="radio1" value="3"> |
| 62 | + <span></span> |
| 63 | + Default Radio 3 |
| 64 | + </label> |
| 65 | + </div> |
| 66 | + |
| 67 | + </div> |
| 68 | +</section> |
| 69 | + |
| 70 | +<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> |
| 71 | +<script>hljs.initHighlightingOnLoad();</script> |
| 72 | + |
| 73 | +</body> |
| 74 | +</html> |
0 commit comments