Created
March 7, 2019 15:48
-
-
Save krcrawford/207335a87f8ce54235a6c1aa0a588b4c to your computer and use it in GitHub Desktop.
Javascript Homework #8 CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 { | |
display: block; | |
text-align: center; | |
} | |
#board { | |
display: block; | |
width: 156px; | |
height: 156px; | |
border: 1px solid #000000; | |
margin: auto; | |
} | |
#board > .row > .square { | |
float: left; | |
width: 50px; | |
height: 50px; | |
border: 1px solid #000000; | |
margin: 0; | |
padding: 0; | |
text-align: center; | |
line-height: 50px; | |
} | |
#board > .row > .square > span.black { | |
color: #000000; | |
} | |
#board > .row > .square > span.red { | |
color: #FF0000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment