Skip to content

Instantly share code, notes, and snippets.

@GPHemsley GPHemsley/test.html
Last active Nov 19, 2018

Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Test</title>
<style type="text/css">
.box {
width: 5em;
height: 5em;
border: 1px solid black;
margin: 1em;
float: left;
}
#css-rrggbbaa {
background-color: red;
background-color: #00FF00FF;
}
#css-read-only {
background-color: red;
}
#css-read-only:read-only {
background-color: lime;
}
#css-read-write {
background-color: red;
}
#css-read-write:not(:read-write) {
background-color: lime;
}
#css-cross-fade {
background-color: red;
background-image: cross-fade( 25% lime, lime, lime, lime 25% );
}
</style>
</head>
<body>
<div class="box" id="css-rrggbbaa">
</div>
<div class="box" id="css-read-only">
</div>
<div class="box" id="css-read-write">
</div>
<div class="box" id="css-cross-fade">
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.