Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
make html pretty dark
<style>
html, body, button {
margin: 0!important;
padding: 0!important;
background-color: black;
color:white;
}
video {
width: auto;
max-width: 100%;
}
a:link {
color: lightgreen;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: lightpink;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: red;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: yellow;
background-color: transparent;
text-decoration: underline;
}
.range-wrap {
position: relative;
margin: 0 auto 3rem;
}
.range {
width: 100%;
}
.bubble {
background: red;
color: white;
padding: 4px 12px;
position: absolute;
border-radius: 4px;
left: 50%;
transform: translateX(-50%);
}
.bubble::after {
content: "";
position: absolute;
width: 2px;
height: 2px;
background: red;
top: -1px;
left: 50%;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment