-
-
Save eksana/66949d0e464ca01e52fb3275c9ab5692 to your computer and use it in GitHub Desktop.
Radobuttons
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
form action="" class="form"> | |
<input type="radio" class="form__place-type-1" id="place-type-1" name="place-type" /> | |
<input type="radio" class="form__place-type-2" id="place-type-2" name="place-type" checked /> | |
<div class="form__step"> | |
<h2>some step</h2> | |
<p>11111</p> | |
</div> | |
<div class="form__step"> | |
<h2>radiobuttons</h2> | |
<label for="place-type-1">hotels</label> | |
<label for="place-type-2">cottages</label> | |
</div> | |
<div class="form__step form__step--bg-gray form__step--hotels"> | |
<h2>hotels type</h2> | |
<p>11111</p> | |
</div> | |
<div class="form__step form__step--bg-gray form__step--cottages"> | |
<h2>cottages type</h2> | |
<p>22222</p> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment