Automatically set image size
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
|
@ -10,8 +10,7 @@ The `<dl>` element is useful for displaying metadata or a read only version of a
|
|||
|
||||
These are some basic styles to use by default:
|
||||
|
||||
<img src="/img/BasicDescriptionList.png" alt="Basic Description List Styles"
|
||||
width="186" height="152" />
|
||||

|
||||
|
||||
```html
|
||||
<dl>
|
||||
|
|
@ -52,8 +51,7 @@ dd + dd {
|
|||
|
||||
This styling will put the `<dt>` elements in one column and the `<dd>` elements into another. This can cause issues on small screens, so it supports breakpoints where it will fall back to the default style.
|
||||
|
||||
<img src="/img/ColumnsDescriptionList.png" alt="Side-By-Side Columns Description List Styles"
|
||||
width="242" height="153" />
|
||||

|
||||
|
||||
```html
|
||||
<dl class="dl-columns-tablet">
|
||||
|
|
@ -125,8 +123,7 @@ $wsu-breakpoint-map: (
|
|||
|
||||
You can also mix this with the default stacked style:
|
||||
|
||||
<img src="/img/MixedDescriptionList.png" alt="Mixed Description List Styles"
|
||||
width="252" height="160" />
|
||||

|
||||
|
||||
```html
|
||||
<dl class="dl-columns-phone">
|
||||
|
|
@ -150,8 +147,7 @@ You can also mix this with the default stacked style:
|
|||
|
||||
This styling is for a list of links with a description. This is particularly useful for index pages that have an actual list of pages:
|
||||
|
||||
<img src="/img/IndexDescriptionList.png" alt="Mixed Description List Styles"
|
||||
width="261" height="129" />
|
||||

|
||||
|
||||
```html
|
||||
<dl class="index-list">
|
||||
|
|
|
|||