Here’s what I’m trying to do. @PaulOB
1.) I’m trying to hide the green & red lines only when the blue background is showing.
Resolved
See: #5
2.) Inactive svg’s
Only when the blue background is showing, but I only want to leave the 1 big one showing.
See: 4#
Resolved
See: #6
3.) svg hover:
I don’t want it to work on the 1st svg on the blue background, only the ones on the gray background.
Resolved
See: #3
.wraph {
position: relative;
width: 606px;
height: 606px;
}
.wraph .playcover {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
margin: auto;
cursor: pointer;
fill: red;
}
.wraph .cover {
width: 606px;
height: 606px;
cursor: pointer;
border: 3px solid #0059dd;
box-sizing: border-box;
}
.wraph.active,
.wraph .cover {
background: url("https://i.imgur.com/PxxHOGw.png") no-repeat 0 0;
}
.wraph.active {
border: 3px solid #0059dd;
box-sizing: border-box;
background-position: -3px -609px;
}
.wraph .cover {
display: none;
}
.wraph.inactive .cover {
display: block;
}
.wraph .cover::before,
.wraph .cover::after {
content: "";
position: absolute;
top: 0;
left: 201px;
width: 3px;
height: 100%;
background: #0059dd;
}
.wraph .cover::after {
left: 402px;
}
.wraph .linesa::before,
.wraph .linesa::after {
content: "";
position: absolute;
top: 0;
left: 198px;
width: 3px;
height: 100%;
background: green;
}
.wraph .linesa::after {
left: 399px;
}
.wraph .linesb::before,
.wraph .linesb::after {
content: "";
position: absolute;
top: 198px;
left: 0;
width: 100%;
height: 3px;
background: red;
}
.wraph .linesb::after {
top: 399px;
}
.wrape.inactive svg {
display: none;
}
.wraph.inactive a {
display: none;
}
.hide {
display: none;
}
.wraph .playa,
.playb,
.playc,
.playd,
.playe,
.playf,
.playg,
.playh,
.playi {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
cursor: pointer;
fill: transparent;
}
.wraph .playa {
margin: 0;
}
.wraph .playb {
margin: 0 201px;
}
.wraph .playc {
margin: 0 402px;
}
.wraph .playd {
margin: 201px 0;
}
.wraph .playe {
margin: 201px 201px;
}
.wraph .playf {
margin: 201px 402px;
}
.wraph .playg {
margin: 402px 0;
}
.wraph .playh {
margin: 402px 201px;
}
.wraph .playi {
margin: 402px 402px;
}
.wraph svg:hover path {
fill: #0059dd;
}