Skip to content

Instantly share code, notes, and snippets.

@AnthonyDS
Last active July 26, 2016 08:35
Show Gist options
  • Save AnthonyDS/e4468431b7b9b00eca01eb3c619221c3 to your computer and use it in GitHub Desktop.
Save AnthonyDS/e4468431b7b9b00eca01eb3c619221c3 to your computer and use it in GitHub Desktop.
WebKit Input CSS
input:not([type]),
input[type="email" i],
input[type="number" i],
input[type="password" i],
input[type="tel" i],
input[type="url" i],
input[type="text" i] {
padding: 1px 0px;
}
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
background-color: rgb(250, 255, 189);
background-image: none;
color: rgb(0, 0, 0);
}
/* user agent stylesheet */
input {
-webkit-appearance: textfield;
background-color: white;
border-image-source: initial;
border-image-slice: initial;
border-image-width: initial;
border-image-outset: initial;
border-image-repeat: initial;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
cursor: auto;
padding: 1px;
border-width: 2px;
border-style: inset;
border-color: initial;
}
/* user agent stylesheet */
input, textarea, keygen, select, button {
text-rendering: auto;
color: initial;
letter-spacing: normal;
word-spacing: normal;
text-transform: none;
text-indent: 0px;
text-shadow: none;
display: inline-block;
text-align: start;
margin: 0em 0em 0em 0em;
font: 13.3333px Arial;
}
/* user agent stylesheet */
input,
textarea,
keygen,
select,
button,
meter,
progress {
-webkit-writing-mode: horizontal-tb;
}
/* =============================================================================== */
/*
* Asana
*/
.calendar-task-row:not(.task-row-subtask) .string .string-inner-inner {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
overflow: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment