Skip to content

Instantly share code, notes, and snippets.

@RCTumolac
Last active November 2, 2016 21:57
Show Gist options
  • Save RCTumolac/4db62667c41bf0ba4d6276fb8989fcb3 to your computer and use it in GitHub Desktop.
Save RCTumolac/4db62667c41bf0ba4d6276fb8989fcb3 to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=4db62667c41bf0ba4d6276fb8989fcb3
<!DOCTYPE html>
<html>
<head>
<title>Rubiks Cube</title>
</head>
<body>
<div class = "a" id = "e"> </div>
<div class = "a" id = "b"> </div>
<div class = "a" id = "c"> </div>
<br>
<div class = "b" id = "d"> </div>
<div class = "b" id = "q"> </div>
<div class = "b" id = "w"> </div>
<br>
<div class = "b" id = "qw"> </div>
<div class = "b" id = "wq"> </div>
<div class = "b" id = "ww"> </div>
</body>
</html>
.a{
width: 30px;
height: 30px;
display: inline-block;
}
#e{
background-color: red;
}
#b{
background-color: green;
}
#c{
background-color: blue;
}
.b{
width: 30px;
height: 30px;
display: inline-block;
}
#d{
background-color: yellow;
}
#q{
background-color: blue;
}
#w{
background-color: red;
}
#wq{
background-color: red;
}
#qw{
background-color: yellow;
}
#ww{
background-color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment