Skip to content

Commit fdf7e2a

Browse files
committed
3.0
1 parent da8cf86 commit fdf7e2a

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

images/.DS_Store

6 KB
Binary file not shown.

images/back.png

-148 KB
Loading

script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ document.addEventListener('DOMContentLoaded', () => {
4444
document.querySelectorAll('.card').forEach(card => card.classList.add('flipped'));
4545
setTimeout(() => {
4646
document.querySelectorAll('.card').forEach(card => card.classList.remove('flipped'));
47-
}, 10000);
47+
}, 5000);
4848
}
4949

5050
function flipCard() {

style.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,16 @@ body {
3030
border-radius: 20px;
3131
margin: 20px;
3232
padding: 15px;
33-
color: aliceblue;
33+
color: #fff;
3434
background-color: #b3454e;
35-
border: none;
35+
border: 2px solid #b3454e;
36+
}
37+
38+
#restart:hover {
39+
color: #b3454e;
40+
background-color: #fff;
41+
border: 2px solid #b3454e;
42+
3643
}
3744

3845
.memory-game {
@@ -48,12 +55,13 @@ body {
4855
width: 105px;
4956
height: 150px;
5057
position: relative;
51-
border: 1px solid black;
58+
border: 2px solid #000;
5259
border-radius: 1.9em;
5360
}
5461

5562
.card:hover {
5663
opacity: 80%;
64+
border: 2px solid #b3454e;
5765
}
5866

5967
.card img {

0 commit comments

Comments
 (0)