Skip to content

Instantly share code, notes, and snippets.

@Mouvedia
Last active August 3, 2022 17:31
Show Gist options
  • Save Mouvedia/a4b9a52e05058d4189a3275f4dd1ed28 to your computer and use it in GitHub Desktop.
Save Mouvedia/a4b9a52e05058d4189a3275f4dd1ed28 to your computer and use it in GitHub Desktop.
// ZuZizqDF4q8
:root {
--ON: initial;
--OFF: ;
}
-khtml-border-radius: px;
-moz-border-radius: px;
-webkit-border-radius: px;
border-radius: px;
/*** webkit ***/
// instead of transform-origin: center;
transform-origin: 50% 50%;
// selector bug
body { -webkit-animation: bugfix infinite 1s; }
@-webkit-keyframes bugfix { from { padding: 0; } to { padding: 0; } }
:nth-child(n) // http://stackoverflow.com/a/17220145/248058
/*** mozilla ***/
select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 #?;
}
button::-moz-focus-inner,
input[type="button"]::-moz-focus-inner {
border: 0;
}
input:invalid {
box-shadow: none;
}
// https://stackoverflow.com/a/14919623/248058
-moz-animation-name: name;
/*** microsoft ***/
select::-ms-value {
color: ?;
background-color: ?;
}
label[for='name'], label[htmlFor='name'] {} // IE7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment