-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
34 lines (23 loc) · 686 Bytes
/
style.css
File metadata and controls
34 lines (23 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.tic-tac-toe-gameboard {
margin: auto;
/* This puts the gameboard in the center of the screen. */
}
.play-against-computer {
position: absolute;
text-align: center;
}
.tic-tac-toe-space {
text-align: center;
/* Puts the [X or O or ?] in the center of the cell. */
border: 1px solid black;
/* Gives each space a thin black line around the perimeter. */
font-size: 1000%; /* Using % based fonts is smartphone-friendly. */
/* Make the font big, so it can be seen. */
width: 1em; /* em is relative to font-size, again, for smartphone adaptability. */
height: 1em;
/* Make the spaces squares. */
}
.whose-turn-is-it {
text-align: center;
font-size: 250%;
}