/* Form */ input[type="text"], input[type="password"], input[type="email"], textarea, select { @include vendor('transition', ('background-color 0.2s ease-in-out', 'border-color 0.2s ease-in-out')); @include vendor('appearance', 'none'); position: relative; background: none; border: solid 1px _palette(border); border-radius: 0; color: inherit; display: block; padding: 0.75em; text-decoration: none; width: 100%; outline: 0; &:focus { border-color: _palette(one, bg); } } input[type="text"], input[type="password"], input[type="email"], select { line-height: 1em; } select { background-image: svg-url(""); background-size: 1.25rem; background-repeat: no-repeat; background-position: calc(100% - 1rem) center; height: _size(element-height); padding-right: _size(element-height); text-overflow: ellipsis; option { color: _palette(fg); background: _palette(bg); } &:focus { &::-ms-value { background-color: transparent; } } &::-ms-expand { display: none; } } ::-webkit-input-placeholder { color: inherit; opacity: 0.5; position: relative; top: 3px; } :-moz-placeholder { color: inherit; opacity: 0.5; } ::-moz-placeholder { color: inherit; opacity: 0.5; } :-ms-input-placeholder { color: inherit; opacity: 0.5; } .required::after { height: 100%; box-sizing: border-box; backgroud-color: blue; content: '*'; position: relative; color: red; top: -16px; left: calc(50% + 4px); font-size: 26px; }