Skip to content

Instantly share code, notes, and snippets.

@suzck
suzck / style.csss
Created August 11, 2015 18:09
fix the ios default button styles
-webkit-appearance: none;
@suzck
suzck / index
Last active August 29, 2015 14:24
How to style a custom checkbox in SCSS
<input type="checkbox" class="real-checkbox" name="checkbox" id="checkbox1" />
<label for="checkbox1"><span class="fake-checkbox"> X </span>Crushing</label>
@suzck
suzck / ifYouPreferSass
Last active June 27, 2021 06:28
CSS only fix for select with rounded corners on OSX
.select-list {
position: relative;
&:after{
content: "▼";
position: absolute;
top: 0;
right: 0;
bottom: 0;
font-size: 60%;
@suzck
suzck / the.css
Last active August 29, 2015 14:15
Font awesome and angular js custom radio inputs
/* So first step is to hide your actual radio button because the browser won't let you hide the real thing */
input[type="radio"] {
display:none;
}
/* Next specify a font size, 8px is comes out about the same size as a regular radio button */
.radio-stack{
font-size: 8px;
}