Last active
February 17, 2021 10:50
-
-
Save ktokot/f89ba9c9f1c210c841eab460856525db to your computer and use it in GitHub Desktop.
Cards
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
/** | |
* Cards | |
*/ | |
body { | |
background-color: #000; | |
} | |
.card { | |
vertical-align:top; | |
background-color: #fff; | |
border-radius: 10px; | |
box-shadow: 1px 2px 2px #aaa; | |
cursor: pointer; | |
display: inline-block; | |
height: 180px; | |
margin-top: 0; | |
margin-left:2em; | |
position: relative; | |
text-align: center; | |
transition: top 0.3s linear; | |
width: 130px; | |
} | |
.card:hover .card_text { | |
text-decoration: underline; | |
} | |
.card_suit { | |
color: #94388d; | |
font-size: 90pt; | |
margin-top: 20px; | |
} | |
.card_text { | |
color: #94388d; | |
font-family: "Arial Rounded MT Bold"; | |
font-size: 11pt; | |
font-weight: bold; | |
margin-top: 15px; | |
margin:0 1em 0 1em; | |
display: block; | |
overflow:ellipse; | |
} | |
#active { | |
color: #92a25d; | |
} | |
#card_uitleg { | |
transform: rotate(0deg); | |
z-index: 42; | |
} | |
.card:hover { | |
transition: top 0.3s linear; | |
top: 20px; | |
} | |
#card_stand { | |
margin-left: 0px; | |
transform: rotate(-0deg); | |
z-index: 41; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<div class="card" id="card_uitleg"> | |
<div class="card_suit" id="active">♣</div> | |
<div class="card_text">Название-то нашлось сразу — «Мяндекс. Муррркет». А вот с версткой проблемы, да и дизайнера нет. </div> | |
</div> | |
<div class="card" id="card_uitleg"> | |
<div class="card_suit" id="active">♣</div> | |
<div class="card_text">Название-то нашлось сразу — «Мяндекс. Муррркет». А вот с версткой проблемы, да и дизайнера нет. </div> | |
</div> | |
<div class="card" id="card_uitleg"> | |
<div class="card_suit" id="active">♣</div> | |
<div class="card_text">Название-то нашлось сразу — «Мяндекс. Муррркет». А вот с версткой проблемы, да и дизайнера нет. </div> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment