File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 11body {
2- background : # e0e5ec ;
2+ background : # e0e5ec ;
3+ font-family : "Comic Sans MS" , cursive, sans-serif;
34}
45
56td {
89 width : 100px ;
910 text-align : center;
1011 vertical-align : middle;
11- font-family : "Comic Sans MS" , cursive, sans-serif;
1212 font-size : 70px ;
1313 cursor : pointer;
14+ box-shadow : 0 2px 10px rgba (0 , 0 , 0 , .3 );
15+ }
16+
17+ table tr : first-child td {
18+ border-top : 5px solid # 333 ;
19+ }
20+
21+ table tr : last-child td {
22+ border-bottom : 5px solid # 333 ;
23+ }
24+
25+ table tr td : first-child {
26+ border-left : 5px solid # 333 ;
27+ }
28+
29+ table tr td : last-child {
30+ border-right : 5px solid # 333 ;
1431}
1532
1633table {
@@ -47,7 +64,6 @@ button {
4764 color : # fff ;
4865 border-radius : 5px ;
4966 padding : 10px 25px ;
50- font-family : 'Lato' , sans-serif;
5167 font-weight : 500 ;
5268 background : transparent;
5369 cursor : pointer;
@@ -81,7 +97,6 @@ button {
8197@media (min-width : 1080px ) {
8298 .replay {
8399 left : 45% ;
84- font-family : "Comic Sans MS" , cursive, sans-serif;
85100 position : relative;
86101 display : inline-block;
87102 padding : 1.2em 2em ;
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ function minimax(newBoard, player) {
178178 return moves [ bestMove ] ;
179179}
180180
181+ // Replay Tic Tac Toe button
181182const docStyle = document . documentElement . style
182183const aElem = document . querySelector ( 'a' )
183184const boundingClientRect = aElem . getBoundingClientRect ( )
You can’t perform that action at this time.
0 commit comments