/* 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; } ::-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; }