CSS: I discovered the border styles inset and outset. 😊

This commit is contained in:
tastytea 2021-03-17 00:43:48 +01:00
parent 9be6edaea1
commit fc95d0862f
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 5 deletions

View File

@ -158,9 +158,7 @@ kbd
padding: 0.05em;
background-color: var(--fg);
color: var(--bg);
border: 0.15em solid;
border-color: var(--bg-dark) var(--fg-dim) /* top, right*/
var(--fg-dim) var(--bg-dark); /* bottom, left*/
border: 0.15em inset var(--fg-dim);
border-radius: 0.2em;
}
@ -168,8 +166,7 @@ kbd
{
display: inline-block;
padding: 0 0.1em;
border: 0.15em solid;
border-color: var(--fg-dim) var(--bg-dark) var(--bg-dark) var(--fg-dim);
border: 0.15em outset var(--bg-dark);
border-radius: 0.2em;
}