Added custom hex color input

This commit is contained in:
2021-05-02 18:04:47 +02:00
parent 53fe6c4b2d
commit fd44a84f6d
5 changed files with 50 additions and 1 deletions

View File

@@ -21,6 +21,11 @@ body {
font-size: 2em;
}
h1 {
margin: 0;
margin-bottom: 1rem;
}
#content {
margin-top: 100px;
min-height: calc(100vh - 100px);
@@ -84,6 +89,20 @@ body {
margin-left: 4px;
}
#content #customcol {
margin-top: 1rem;
}
#content #customcol input {
padding: 0.5rem;
-webkit-transition: background-color 0.2s ease;
transition: background-color 0.2s ease;
}
#content #customcol input:invalid {
background-color: lightcoral;
}
#content input#file {
position: absolute;
height: 47px;