_sass/components/_form.scss in jekyll-theme-twenty-0.1.1 vs _sass/components/_form.scss in jekyll-theme-twenty-0.1.2

- old
+ new

@@ -4,10 +4,11 @@ input[type="password"], input[type="email"], textarea { @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; @@ -45,6 +46,15 @@ } :-ms-input-placeholder { color: inherit; opacity: 0.5; +} + +.required::after { + content: '*'; + position: absolute; + color: red; + top: -3px; + right: -1px; + font-size: 26px; } \ No newline at end of file