Gracias, Wikipedia.
ShareCode
Permalink: http://www.treeweb.es/u/974/ 01/02/2011

ShareCode

1 /*2 3  File: main.css4 5  Abstract: CSS file for TicTacToe sample.6 7  8 9  Version: 1.010 11  12 13  Disclaimer: IMPORTANT: This Apple software is supplied to you by 14 15  Apple Inc. ("Apple") in consideration of your agreement to the16 17  following terms, and your use, installation, modification or18 19  redistribution of this Apple software constitutes acceptance of these20 21  terms. If you do not agree with these terms, please do not use,22 23  install, modify or redistribute this Apple software.24 25  26 27  In consideration of your agreement to abide by the following terms, and28 29  subject to these terms, Apple grants you a personal, non-exclusive30 31  license, under Apple's copyrights in this original Apple software (the32 33  "Apple Software"), to use, reproduce, modify and redistribute the Apple34 35  Software, with or without modifications, in source and/or binary forms;36 37  provided that if you redistribute the Apple Software in its entirety and38 39  without modifications, you must retain this notice and the following40 41  text and disclaimers in all such redistributions of the Apple Software. 42 43  Neither the name, trademarks, service marks or logos of Apple Inc. 44 45  may be used to endorse or promote products derived from the Apple46 47  Software without specific prior written permission from Apple. Except48 49  as expressly stated in this notice, no other rights or licenses, express50 51  or implied, are granted by Apple herein, including but not limited to52 53  any patent rights that may be infringed by your derivative works or by54 55  other works in which the Apple Software may be incorporated.56 57  58 59  The Apple Software is provided by Apple on an "AS IS" basis. APPLE60 61  MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION62 63  THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS64 65  FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND66 67  OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.68 69  70 71  IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL72 73  OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF74 75  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS76 77  INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,78 79  MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED80 81  AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),82 83  STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE84 85  POSSIBILITY OF SUCH DAMAGE.86 87  88 89  Copyright (C) 2010 Apple Inc. All Rights Reserved.90 91 */92 93  94 95 body {96 97  text-align: center;98 99  font-size: 16px;100 101  font-family: 'Comic Sans MS', Helvetica, sans-serif;102 103 }104 105 table {106 107  margin-left:auto; 108 109  margin-right:auto; 110 111  width: 551px; 112 113  -webkit-user-select: none; 114 115 }116 117 td {118 119  height: 175px;120 121  width: 175px;122 123  text-align: center;124 125  font-size: 120px;126 127  border: 2px solid #cccccc;128 129  -webkit-border-radius: 10px;130 131 }132 133 #players {134 135  margin-left:auto; 136 137  margin-right:auto;138 139  padding: 20px 10px 10px 10px;140 141  width: 511px; 142 143  text-align: left;144 145 }146 147 #players > div {148 149  display: inline-block;150 151  padding-right: 25px;152 153  color: #cccccc;154 155  -webkit-transition-duration: 200ms;156 157 }158 159 .button {160 161  float: right;162 163 }164 165 .current-player {166 167  color: black !important;168 169  -webkit-transform: scale(1.5);170 171 }172 173 .X-marker {174 175  color: #663366;176 177 }178 179 .X-marker:before {180 181  content: "X";182 183 }184 185 .O-marker {186 187  color: #CC0033;188 189 }190 191 .O-marker:before {192 193  content: "O";194 195 }


Este ShareCode tiene versiones:
  1. Player X Player O ... (25/11/2020)
Enlace
El enlace para compartir es: