Skip to content

Commit 94d02df

Browse files
committed
Quick color picker styling
1 parent 9fc5d6c commit 94d02df

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

docs/themes/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,21 @@
4242
border-radius: 0 0 4px 4px;
4343
box-shadow: 0 -1px #aaa;
4444
}
45+
input[type="color"] {
46+
width: 750px;
47+
height: 40px;
48+
position: relative;
49+
}
50+
input[type="color"]::after {
51+
content: "Choose a color";
52+
text-align: center;
53+
width: 100%;
54+
position: absolute;
55+
top: 10px;
56+
font-size: 16px;
57+
color: #FCFCFC;
58+
text-shadow: 0 0 1px #CCC;
59+
}
4560
</style>
4661
</head>
4762
<body>

0 commit comments

Comments
 (0)