From: Damyan Ivanov Date: Mon, 19 Jun 2017 12:29:11 +0000 (+0000) Subject: make the error message appear smoothly X-Git-Tag: 2.0~24 X-Git-Url: https://git.ktnx.net/?p=icedeb.git;a=commitdiff_plain;h=6be63dfb18953e222b6c166db7ccecc8399d8749 make the error message appear smoothly --- diff --git a/icedeb.css b/icedeb.css index a5ead51..0aed167 100644 --- a/icedeb.css +++ b/icedeb.css @@ -34,3 +34,16 @@ body { padding: 1ex; } } .hidden { display: none; } a, a:visited { color: blue; } +#error { + display: block; + background: hsl(48.2,100%,90%); + visibility: visible; + opacity: 1; + transition: visibility 250ms, opacity 250ms; +} +#error.hidden { + display: block; + visibility: hidden; + opacity: 0; + transition: none; +}