Add is-relative helper plus docs

This commit is contained in:
lucperkins 2019-03-14 11:31:12 -07:00 committed by Jeremy Thomas
parent 394fd365ab
commit ff827999e0
2 changed files with 7 additions and 0 deletions

View File

@ -63,5 +63,9 @@ breadcrumb:
<td><code>is-sr-only</code></td> <td><code>is-sr-only</code></td>
<td>Hide elements <strong>visually</strong> but keep the element available to be announced by a <strong>screen reader</strong></td> <td>Hide elements <strong>visually</strong> but keep the element available to be announced by a <strong>screen reader</strong></td>
</tr> </tr>
<tr>
<td><code>is-relative</code></td>
<td>Applies <code>position: relative</code> to the element.</td>
</tr>
</tbody> </tbody>
</table> </table>

View File

@ -274,3 +274,6 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
.is-unselectable .is-unselectable
@extend %unselectable @extend %unselectable
.is-relative
position: relative