After trying to add the fan in, code is broken.
The initial screen/splash screen, that should have a different background, than the body, right?
body background, should be given to the body, not splash screen, right?
I would need to set the splash screen to have a different color from the body, which was:
body {
background: #353198;
}
And so, the splash screen bg color would be anything I wanted.
After I added this in the exitSkip button stopped working.
<button class="exitSkip" type="button"></button>
After the exitSkip button is clicked, or the play is clicked, the fan would be removed, not to return again on the page. How it should work.
Now both are alike, but both broken still.
Circle should be: 380px, not 290px.
Button with image and exitSkip, placed somewhere should be over the fan.
Also, the fan isnât getting smaller as the window closes or gets smaller.
js version: https://jsfiddle.net/zcp1f7x6/1/
CSS version: https://jsfiddle.net/o40utzc8/
<div class="playButtonContainer with-curtain ">
<div class="fan2">
<div class="sun"></div>
<div class="sun"></div>
<div class="cross"></div>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%" viewBox="76 130 381 381">
<path fill="#000100" stroke="#000000" d="M443.516,362.486C437.80600000000004,364.501,373.29900000000004,353.861,328.165,346.041C365.607,372.43,418.745,410.519,421.357,415.981C427.24100000000004,428.287,406.07000000000005,448.92,400.495,454.495C394.919,460.072,374.285,481.241,361.979,475.358C356.519,472.746,318.42499999999995,419.606,292.03999999999996,382.164C299.859,427.299,310.49899999999997,491.808,308.484,497.517C303.94399999999996,510.378,274.383,509.998,266.498,509.999C258.614,509.999,229.052,510.37800000000004,224.512,497.51800000000003C222.497,491.809,233.137,427.29900000000004,240.958,382.165C214.569,419.607,176.47899999999998,472.74600000000004,171.017,475.358C158.714,481.242,138.077,460.073,132.503,454.497C126.92599999999999,448.922,105.75699999999999,428.28700000000003,111.63899999999998,415.98400000000004C114.25199999999998,410.52000000000004,167.39299999999997,372.427,204.83499999999998,346.04100000000005C159.69899999999998,353.85900000000004,95.19399999999997,364.50200000000007,89.48199999999999,362.48600000000005C76.62099999999998,357.94800000000004,77.00199999999998,328.38700000000006,77.00099999999999,320.50000000000006C77.00099999999999,312.61500000000007,76.62199999999999,283.0540000000001,89.481,278.51700000000005C95.19,276.50100000000003,159.701,287.14200000000005,204.834,294.95900000000006C167.392,268.57000000000005,114.254,230.48000000000008,111.643,225.01900000000006C105.758,212.71600000000007,126.93,192.08200000000005,132.505,186.50400000000008C138.07999999999998,180.93000000000006,158.715,159.75800000000007,171.016,165.64400000000006C176.47899999999998,168.25700000000006,214.572,221.39900000000006,240.95999999999998,258.84200000000004C233.14199999999997,213.70600000000005,222.49899999999997,149.19500000000005,224.515,143.48400000000004C229.05399999999997,130.62500000000003,258.614,131.00200000000004,266.5,131.00100000000003C274.385,131.00100000000003,303.945,130.62500000000003,308.48199999999997,143.48400000000004C310.498,149.19300000000004,299.85699999999997,213.70100000000002,292.03999999999996,258.836C318.429,221.39300000000003,356.518,168.258,361.97999999999996,165.64300000000003C374.28299999999996,159.75800000000004,394.91799999999995,180.92900000000003,400.49499999999995,186.50500000000002C406.06999999999994,192.08,427.24099999999993,212.71500000000003,421.35499999999996,225.02000000000004C418.74299999999994,230.48100000000005,365.60499999999996,268.57500000000005,328.16299999999995,294.96000000000004C373.299,287.141,437.804,276.499,443.51599999999996,278.516C456.37499999999994,283.055,455.99799999999993,312.618,455.99799999999993,320.502C455.99999999999994,328.386,456.37799999999993,357.946,443.51599999999996,362.486Z" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);" transform="rotate(223.25039999999998 266.49965580744913 320.5000132420905)"></path>
</svg>
</div>
<div class="wrapImage">
<button class="playa cover spinner" type="button" data-container="play1">
<span class="color-circle"></span>
</button>
</div>