positioning images
Positioning Images
In general, we want to preserve text within a column rather than have it wrap around images.
This:
Turnip greens yarrow ricebean rutabaga endive cauliflower sea lettuce kohlrabi amaranth water spinach avocado daikon napa cabbage asparagus winter purslane kale. Celery potato scallion desert raisin horseradish spinach carrot soko. Lotus root water spinach fennel kombu maize bamboo shoot green bean swiss chard seakale pumpkin onion chickpea gram corn pea. Brussels sprout coriander water chestnut gourd swiss chard wakame kohlrabi beetroot carrot watercress. Corn amaranth salsify bunya nuts nori azuki bean chickweed potato bell pepper artichoke.
Pea horseradish azuki bean lettuce avocado asparagus okra. Kohlrabi radish okra azuki bean corn fava bean mustard tigernut jícama green bean celtuce collard greens avocado quandong fennel gumbo black-eyed pea. Grape silver beet watercress potato tigernut corn groundnut. Chickweed okra pea winter purslane coriander yarrow sweet pepper radish garlic brussels sprout groundnut summer purslane earthnut pea tomato spring onion azuki bean gourd. Gumbo kakadu plum komatsuna black-eyed pea green bean zucchini gourd winter purslane silver beet rock melon radish asparagus spinach.
is preferred over this:
Pea horseradish azuki bean lettuce avocado asparagus okra. Kohlrabi radish okra azuki bean corn fava bean mustard tigernut jícama green bean celtuce collard greens avocado quandong fennel gumbo black-eyed pea. Grape silver beet watercress potato tigernut corn groundnut. Chickweed okra pea winter purslane coriander yarrow sweet pepper radish garlic brussels sprout groundnut summer purslane earthnut pea tomato spring onion azuki bean gourd. Gumbo kakadu plum komatsuna black-eyed pea green bean zucchini gourd winter purslane silver beet rock melon radish asparagus spinach.
Pea horseradish azuki bean lettuce avocado asparagus okra. Kohlrabi radish okra azuki bean corn fava bean mustard tigernut jícama green bean celtuce collard greens avocado quandong fennel gumbo black-eyed pea. Grape silver beet watercress potato tigernut corn groundnut. Chickweed okra pea winter purslane coriander yarrow sweet pepper radish garlic brussels sprout groundnut summer purslane earthnut pea tomato spring onion azuki bean gourd. Gumbo kakadu plum komatsuna black-eyed pea green bean zucchini gourd winter purslane silver beet rock melon radish asparagus spinach.
Using columns for image placement
Images will never exceed 100% of the width of their parent element, but will not scale up if the parent is wider than the image.
.third/.twothird
.twothird
<div class="third">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.third</samp></figcaption>
</figure>
</div><!-- /third -->
<div class="twothird">
<p><samp>.twothird</samp></p>
</div><!-- /twothird -->
.half/.half
.half
<div class="half">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.half</samp></figcaption>
</figure>
</div><!-- /half -->
<div class="half">
<p><samp>.half</samp></p>
</div><!-- /half -->
.twothird/.third
.third
<div class="twothird">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.twothird</samp></figcaption>
</figure>
</div><!-- /twothird -->
<div class="third">
<p><samp>.third</samp></p>
</div><!-- /third -->
.span-1/.span-11
.span-11
<div class="span-1">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.span-1</samp></figcaption>
</figure>
</div><!-- /span-1 -->
<div class="span-11">
<p><samp>.span-11</samp></p>
</div><!-- /span-11 -->
.span-2/.span-10
.span-10
<div class="span-2">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.span-2</samp></figcaption>
</figure>
</div><!-- /span-2 -->
<div class="span-10">
<p><samp>.span-10</samp></p>
</div><!-- /span-10 -->
.span-3/.span-9
.span-9
<div class="span-3">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.span-3</samp></figcaption>
</figure>
</div><!-- /span-3 -->
<div class="span-9">
<p><samp>.span-9</samp></p>
</div><!-- /span-9 -->
.span-4/.span-8
.span-8
<div class="span-4">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.span-4</samp></figcaption>
</figure>
</div><!-- /span-4 -->
<div class="span-8">
<p><samp>.span-8</samp></p>
</div><!-- /span-8 -->
.span-5/.span-7
.span-7
<div class="span-5">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.span-5</samp></figcaption>
</figure>
</div><!-- /span-5 -->
<div class="span-7">
<p><samp>.span-7</samp></p>
</div><!-- /span-7 -->
.span-6/.span-6
.span-6
<div class="span-6">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.span-6</samp></figcaption>
</figure>
</div><!-- /span-6 -->
<div class="span-6">
<p><samp>.span-6</samp></p>
</div><!-- /span-6 -->
.span-7/.span-5
.span-5
<div class="span-7">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.span-7</samp></figcaption>
</figure>
</div><!-- /span-7 -->
<div class="span-5">
<p><samp>.span-5</samp></p>
</div><!-- /span-5 -->
.span-8/.span-4
.span-4
<div class="span-8">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.span-8</samp></figcaption>
</figure>
</div><!-- /span-8 -->
<div class="span-4">
<p><samp>.span-4</samp></p>
</div><!-- /span-4 -->
.span-9/.span-3
.span-3
<div class="span-9">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.span-9</samp></figcaption>
</figure>
</div><!-- /span-9 -->
<div class="span-3">
<p><samp>.span-3</samp></p>
</div><!-- /span-3 -->
.span-10/.span-2
.span-2
<div class="span-10">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.span-10</samp></figcaption>
</figure>
</div><!-- /span-10 -->
<div class="span-2">
<p><samp>.span-2</samp></p>
</div><!-- /span-2 -->
.span-11/.span-1
.span-1
<div class="span-11">
<figure>
<img src="/assets/images/examples/example.jpg" alt="Example image.">
<figcaption><samp>.span-11</samp></figcaption>
</figure>
</div><!-- /span-11 -->
<div class="span-1">
<p><samp>.span-1</samp></p>
</div><!-- /span-1 -->