Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* TIC-TAC-TOE STYLES */
- /* Created by Dustin Hammack - May 2017 */
- body {
- margin: 0;
- padding: 0;
- text-align: center;
- }
- h1 {
- margin-top: 5px;
- margin-bottom: 0;
- }
- hr {
- width: 20%;
- margin: 0 auto 30px;
- box-shadow: 1px -4px 40px 3px grey;
- }
- #reset {
- /* width: 6%;*/
- display: none;
- }
- .active:hover {
- position: absolute;
- top: 3px;
- }
- .side {
- margin-top: 50px;
- }
- .rotate {
- transition: transform 5s;
- transform: rotateY(1800deg);
- /* width: 2%;*/
- }
- #x, #o {
- background: grey;
- padding: 0;
- box-shadow: 10px 15px 10px 0 grey,0 17px 50px 0 grey;
- position: relative;
- width: 300px;
- height: 350px;
- }
- #x {
- margin-right: 50px;
- background: url('../images/x_card.png') top left no-repeat;
- }
- #o {
- background: url('../images/o_card.png') top left no-repeat;
- }
- .side:hover {
- top: -5px;
- left: 5px;
- }
- /*#x:active, #o:active*/
- .side:active {
- top: 3px;
- }
- .cards {
- background: white;
- border: none;
- }
- #container {
- width: 75%;
- max-width: 800px;
- margin: auto;
- padding: 10px;
- background: white;
- display: none;
- }
- #card1, #card2, #card4, #card5 {
- position: relative;
- display: inline-block;
- padding: 10px;
- margin-top: -1px;
- margin-right: -4px;
- border-right: dashed 2px black;
- border-bottom: dashed 2px black;
- width: 27%;
- height: 200px;
- font-size: 96px;
- text-align: center;
- line-height: 200px;
- vertical-align: top;
- }
- #card3, #card6 {
- position: relative;
- display: inline-block;
- padding: 0;
- margin-top: -1px;
- margin-right: -4px;
- border-bottom: dashed 2px black;
- width: 27%;
- height: 200px;
- font-size: 96px;
- text-align: center;
- line-height: 200px;
- vertical-align: top;
- }
- #card7, #card8 {
- position: relative;
- display: inline-block;
- padding: 0;
- margin-top: -1px;
- margin-right: -4px;
- border-right: dashed 2px black;
- width: 27%;
- height: 200px;
- font-size: 96px;
- text-align: center;
- line-height: 200px;
- vertical-align: top;
- }
- #card9 {
- position: relative;
- display: inline-block;
- padding: 0;
- margin-top: -1px;
- margin-right: -4px;
- width: 27%;
- height: 200px;
- font-size: 96px;
- text-align: center;
- line-height: 200px;
- vertical-align: top;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement