Skip to content

Instantly share code, notes, and snippets.

View emilsjolander's full-sized avatar
Building things

Emil Sjölander emilsjolander

Building things
View GitHub Profile
nodesocket / bootstrap.flatten.css
Last active April 1, 2021 23:37
Below are simple styles to "flatten" bootstrap. I didn't go through every control and widget that bootstrap offers, only what was required for, 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;
dypsilon /
Last active June 13, 2024 10:59
A badass list of frontend development resources I collected over time.
romannurik /
Last active May 1, 2021 10:16
**BETA** Android 4.0-style "Swipe to Dismiss" sample code
Moved to
* Execute an {@link AsyncTask} on a thread pool.
* @param task Task to execute.
* @param args Optional arguments to pass to {@link AsyncTask#execute(Object[])}.
* @param <T> Task argument type.
public static <T> void execute(AsyncTask<T, ?, ?> task, T... args) {
throw new UnsupportedOperationException("This class can only be used on API 4 and newer.");