Skip to content

Commit

Permalink
getting display classes into AMP build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Pilgreen committed May 29, 2019
1 parent d227f90 commit a7f9e32
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions dist/amp.css
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,32 @@ summary, .summary {
}

/* Decks */
/**
* Display classes
*/
.d-tablet,
.d-desktop {
display: none;
}

@media (min-width: 769px) {
.h-tablet {
display: none;
}

.d-tablet {
display: var(--display, block);
}
}
@media (min-width: 1024px) {
.h-desktop {
display: none;
}

.d-desktop {
display: var(--display, block);
}
}
/**
* Flag
*/
Expand Down

0 comments on commit a7f9e32

Please sign in to comment.