Commit 80b5136e authored by krister's avatar krister
Browse files

Added mobile example where label is ontop of textfield + mediaquery so that in...

Added mobile example where label is ontop of textfield + mediaquery so that in mobile view labels are ontop of fields
parent a679cd23
......@@ -12,4 +12,8 @@
<label for="focus">Vormivälja focus</label>
<input type="text" class="c-textfield" name="väärtus" id="focus" placeholder="Click to focus"/>
</div>
<div class="c-textfield-mobile">
<label for="focusMobile">Vormivälja focus mobile</label>
<input type="text" class="c-textfield" name="väärtus" id="focusMobile" placeholder="Click to focus"/>
</div>
</form>
......@@ -7,6 +7,6 @@
<title>{{ site.title }}</title>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="..{{ paths.root + paths.styles }}/main.css" />
<link rel="stylesheet" href="..{{ paths.root + paths.styles }}/scss/main.css" />
{%- endblock -%}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment