Skip to content

Instantly share code, notes, and snippets.

@yaitloutou
Forked from nodesocket/bootstrap.flatten.css
Created January 15, 2017 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaitloutou/9b66d8283c065a0bb0c549b5470e20d5 to your computer and use it in GitHub Desktop.
Save yaitloutou/9b66d8283c065a0bb0c549b5470e20d5 to your computer and use it in GitHub Desktop.
Below are simple styles to "flatten" bootstrap. I didn't go through every control and widget that bootstrap offers, only what was required for https://commando.io, so your milage may vary.
/* Flatten das boostrap */
.well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid {
-moz-box-shadow: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
-webkit-border-radius: 0px !important;
-moz-border-radius: 0px !important;
border-radius: 0px !important;
border-collapse: collapse !important;
background-image: none !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment