2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

use flexbox order property to change order of content for screenreaders

This commit is contained in:
Mark Otto
2017-06-17 10:28:19 -07:00
committed by Mark Otto
parent 2fb65c2b61
commit 2a579e546c
3 changed files with 11 additions and 6 deletions
+2
View File
@@ -5,6 +5,8 @@
//
.bd-content {
order: 1;
// Hack the sticky header
> h2[id],
> h3[id],
+2
View File
@@ -10,6 +10,7 @@
top: 4rem;
max-height: calc(100vh - 4rem);
}
order: 2;
padding-top: 1.5rem;
padding-bottom: 1.5rem;
overflow-x: visible;
@@ -49,6 +50,7 @@
//
.bd-sidebar {
order: 0;
background-color: #f5f2f9;
border-bottom: 1px solid rgba(0,0,0,.1);