From fd0d8d5d072d375c6e445192dada8990b740ff22 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 11 Jul 2020 20:25:02 +0200 Subject: [PATCH] add undecorated textarea --- input.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/input.scss b/input.scss index 24ce3d2..48e3b67 100644 --- a/input.scss +++ b/input.scss @@ -10,6 +10,19 @@ */ input, select, textarea, .textarea { border: 1px solid var(--input-border); + + &.undecorated { + border: none; + background: transparent; + resize: none; + } + + &:active.undecorated, &:focus.undecorated { + -webkit-appearance: none; + appearance: none; + outline: none; + border-style: none; + } } progress {