Add code requirements

This commit is contained in:
Jeremy Thomas 2017-11-05 19:35:23 +00:00
parent 06cebdf921
commit e0d368748b

View File

@ -81,6 +81,38 @@ doc-subtab: start
</div>
</div>
{% include anchor.html name="Code requirements" %}
<div class="content">
<p>
For Bulma to work correctly, you need to make your webpage <strong>responsive</strong>.
</p>
</div>
<article class="media is-large">
<div class="media-left">
<p class="title is-5">1</p>
</div>
<div class="media-content">
<p class="title is-5">
Use the <strong>HTML5 doctype</strong>
</p>
{% highlight html %}<!DOCTYPE html>{% endhighlight %}
</div>
</article>
<article class="media is-large">
<div class="media-left">
<p class="title is-5">2</p>
</div>
<div class="media-content">
<p class="title is-5">
Add the responsive <strong>viewport</strong> meta tag
</p>
{% highlight html %}<meta name="viewport" content="width=device-width, initial-scale=1">{% endhighlight %}
</div>
</article>
{% include anchor.html name="Starter template" %}
<div class="content">