Skip to content

Instantly share code, notes, and snippets.

@gonnavis
Last active November 3, 2020 04:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gonnavis/54a21fd3bd84e7dceae7e3137c5f10e3 to your computer and use it in GitHub Desktop.
Save gonnavis/54a21fd3bd84e7dceae7e3137c5f10e3 to your computer and use it in GitHub Desktop.
.close {
position:absolute;
width:10vw;height:10vw;left:0;right:0;top:0;bottom:0;margin:auto;
background: rgba(0, 0, 0, 0)
url('data:image/svg+xml;utf8,<svg t="1604377024255" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3056" width="200" height="200"><path d="M511.65696 471.998464l140.791808-140.792832c11.108352-11.108352 29.118464-11.108352 40.226816 0 11.108352 11.108352 11.108352 29.118464 0 40.226816L551.882752 512.22528l140.792832 140.792832c11.108352 11.108352 11.108352 29.118464 0 40.226816-11.108352 11.108352-29.118464 11.108352-40.226816 0L511.65696 552.452096 370.864128 693.244928c-11.108352 11.108352-29.118464 11.108352-40.226816 0-11.108352-11.108352-11.108352-29.118464 0-40.226816L471.42912 512.22528 330.637312 371.432448c-11.108352-11.108352-11.108352-29.118464 0-40.226816 11.108352-11.108352 29.118464-11.108352 40.226816 0l140.792832 140.792832z" fill="white" p-id="3057"></path><path d="M512 910.222336c219.931648 0 398.222336-178.290688 398.222336-398.222336 0-219.931648-178.290688-398.222336-398.222336-398.222336-219.931648 0-398.222336 178.290688-398.222336 398.222336 0 219.931648 178.290688 398.222336 398.222336 398.222336z m0 56.88832C260.64896 967.110656 56.889344 763.35104 56.889344 512S260.64896 56.889344 512 56.889344 967.110656 260.64896 967.110656 512 763.35104 967.110656 512 967.110656z" fill="white" p-id="3058"></path></svg>')
no-repeat center center / 100% 100%;
}
.left_arrow {
background: rgba(0, 0, 0, 0.84)
url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="100"><polygon points="0,0 90,50 0,100 " style="fill:white;" /></svg>')
no-repeat right center / auto 20%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment