Skip to content

Commit 4eb627f

Browse files
authored
Merge pull request #9 from KshitizDayal/hover
made hovering effect on table contents
2 parents 10a778c + 3817472 commit 4eb627f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@
2525
dd { margin-inline-start: 0px; }
2626

2727
td { text-align: center; }
28+
29+
td:hover{
30+
transform: rotate(-90deg) scaleY(1) scaleX(-1) scale(1.2); /*made a nice hovering effect as we hover on the blocks*/
31+
border: 2px solid maroon;
32+
}
33+
34+
td{ transition: 1s; }
35+
2836
/*
2937
td { --left-padding: 0.5vw; }
3038
time { display: block; text-align: left; padding-left: var(--left-padding); position: absolute; top: 0.5vw; }

0 commit comments

Comments
 (0)