Skip to content

Instantly share code, notes, and snippets.

@IamManchanda
Last active February 1, 2017 19:24
Show Gist options
  • Save IamManchanda/de6dfd6798d097f43d2403fc13e2c377 to your computer and use it in GitHub Desktop.
Save IamManchanda/de6dfd6798d097f43d2403fc13e2c377 to your computer and use it in GitHub Desktop.
#9738 [Advancement] Prototype/sepration from core - Flexbox disabled & prototype enabled
.float-left {
float: left !important; }
.float-right {
float: right !important; }
.float-center {
display: block;
margin-right: auto;
margin-left: auto; }
.clearfix::before, .clearfix::after {
display: table;
content: ' '; }
.clearfix::after {
clear: both; }
@media print, screen and (min-width: 40em) {
.medium-float-left {
float: left !important; }
.medium-float-right {
float: right !important; }
.medium-float-center {
display: block;
margin-right: auto;
margin-left: auto; }
.medium-clearfix::before, .medium-clearfix::after {
display: table;
content: ' '; }
.medium-clearfix::after {
clear: both; } }
@media print, screen and (min-width: 64em) {
.large-float-left {
float: left !important; }
.large-float-right {
float: right !important; }
.large-float-center {
display: block;
margin-right: auto;
margin-left: auto; }
.large-clearfix::before, .large-clearfix::after {
display: table;
content: ' '; }
.large-clearfix::after {
clear: both; } }
.display-none {
display: none !important; }
.display-inline {
display: inline !important; }
.display-inline-block {
display: inline-block !important; }
.display-block {
display: block !important; }
.display-table {
display: table !important; }
.display-table-cell {
display: table-cell !important; }
@media print, screen and (min-width: 40em) {
.medium-display-none {
display: none !important; }
.medium-display-inline {
display: inline !important; }
.medium-display-inline-block {
display: inline-block !important; }
.medium-display-block {
display: block !important; }
.medium-display-table {
display: table !important; }
.medium-display-table-cell {
display: table-cell !important; } }
@media print, screen and (min-width: 64em) {
.large-display-none {
display: none !important; }
.large-display-inline {
display: inline !important; }
.large-display-inline-block {
display: inline-block !important; }
.large-display-block {
display: block !important; }
.large-display-table {
display: table !important; }
.large-display-table-cell {
display: table-cell !important; } }
.text-hide {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0; }
.text-truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; }
.text-nowrap {
white-space: nowrap; }
@media print, screen and (min-width: 40em) {
.medium-text-hide {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0; }
.medium-text-truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; }
.medium-text-nowrap {
white-space: nowrap; } }
@media print, screen and (min-width: 64em) {
.large-text-hide {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0; }
.large-text-truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; }
.large-text-nowrap {
white-space: nowrap; } }
.text-lowercase {
text-transform: lowercase; }
.text-uppercase {
text-transform: uppercase; }
.text-capitalize {
text-transform: capitalize; }
@media print, screen and (min-width: 40em) {
.medium-text-lowercase {
text-transform: lowercase; }
.medium-text-uppercase {
text-transform: uppercase; }
.medium-text-capitalize {
text-transform: capitalize; } }
@media print, screen and (min-width: 64em) {
.large-text-lowercase {
text-transform: lowercase; }
.large-text-uppercase {
text-transform: uppercase; }
.large-text-capitalize {
text-transform: capitalize; } }
.text-left {
text-align: left; }
.text-right {
text-align: right; }
.text-center {
text-align: center; }
.text-justify {
text-align: justify; }
@media print, screen and (min-width: 40em) {
.medium-text-left {
text-align: left; }
.medium-text-right {
text-align: right; }
.medium-text-center {
text-align: center; }
.medium-text-justify {
text-align: justify; } }
@media print, screen and (min-width: 64em) {
.large-text-left {
text-align: left; }
.large-text-right {
text-align: right; }
.large-text-center {
text-align: center; }
.large-text-justify {
text-align: justify; } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment