A Pen by Patrick Cox

What is a a pen by patrick cox How do you make a a pen by patrick cox? This script and codes were developed by Patrick Cox on 08 November 2021, Monday.

How do I make an a pen by patrick cox?
  1. A Pen by Patrick Cox Previews
  2. A Pen by Patrick Cox HTML Codes
  3. A Pen by Patrick Cox CSS Codes
  4. A Pen by Patrick Cox JS Codes
A Pen by Patrick Cox Previews

A Pen by Patrick Cox HTML Codes

<!DOCTYPE html>
<html >
<head>
  <meta charset="UTF-8">
  <title>A Pen by  Patrick Cox</title>
  
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">

  
      <style>
      /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */
      @keyframes rotate {
	0% { -webkit-transform:rotate(0deg); }
	100% { -webkit-transform:rotate(360deg); }
}
body{
  padding-top: 12%;
  overflow: hidden;
}
.submit{
  width: 180px;
  margin: 0 auto;
  display: block;
  padding: 12px 0 12px 0;
  font-size: 24px;
  border-radius: 8px;
  border: 1px solid #333;
}
.overlay{
  height: 100%;
  width: 100%;
  background: #000;
  opacity: 0.5;
  position: absolute;
  top: 0;
  right: 0;
  display: none;
}
.spinner{
  display: none;
  box-shadow: 0 0 1px #444, 0 0 15px rgba(0,0,0,0.3);
  border-radius: 50%;
  position: absolute;
  top: -110px;
  right: -110px;
  height: 200px;
  width: 200px;
  z-index: 0;
background: #00b7ea;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#939393), color-stop(85%,#efefef)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #939393 0%,#efefef 85%);
animation: rotate 2s infinite linear;
}
.spinner:before{
  content: "\0020";
  background: #444;
  box-shadow: 0 0 1px 1px #111, 0 0 15px rgba(0,0,0,0.5);
  width: 150px;
  height: 150px;
  z-index: 50;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 25px;
  left: 25px;
}
.spinner:after{
  content: "\0020";
  box-shadow: 0 0 3px #000, 0 0 15px rgba(0,0,0,0.3);
  background: #00b7ea;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00b7ea), color-stop(100%,#0081a8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #00b7ea 0%,#0081a8 100%);
  width: 90px;
  height: 90px;
  z-index: 100;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 55px;
  left: 55px;
  animation: rotate .5s infinite linear;
}



    </style>

  <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>

</head>

<body>
  <button class="submit">Submit</button>

<div class="overlay"></div>
<div class="spinner"></div>
  <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>

    <script src="js/index.js"></script>

</body>
</html>

A Pen by Patrick Cox CSS Codes

@keyframes rotate {
	0% { -webkit-transform:rotate(0deg); }
	100% { -webkit-transform:rotate(360deg); }
}
body{
  padding-top: 12%;
  overflow: hidden;
}
.submit{
  width: 180px;
  margin: 0 auto;
  display: block;
  padding: 12px 0 12px 0;
  font-size: 24px;
  border-radius: 8px;
  border: 1px solid #333;
}
.overlay{
  height: 100%;
  width: 100%;
  background: #000;
  opacity: 0.5;
  position: absolute;
  top: 0;
  right: 0;
  display: none;
}
.spinner{
  display: none;
  box-shadow: 0 0 1px #444, 0 0 15px rgba(0,0,0,0.3);
  border-radius: 50%;
  position: absolute;
  top: -110px;
  right: -110px;
  height: 200px;
  width: 200px;
  z-index: 0;
background: #00b7ea;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#939393), color-stop(85%,#efefef)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #939393 0%,#efefef 85%);
animation: rotate 2s infinite linear;
}
.spinner:before{
  content: "\0020";
  background: #444;
  box-shadow: 0 0 1px 1px #111, 0 0 15px rgba(0,0,0,0.5);
  width: 150px;
  height: 150px;
  z-index: 50;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 25px;
  left: 25px;
}
.spinner:after{
  content: "\0020";
  box-shadow: 0 0 3px #000, 0 0 15px rgba(0,0,0,0.3);
  background: #00b7ea;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00b7ea), color-stop(100%,#0081a8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #00b7ea 0%,#0081a8 100%);
  width: 90px;
  height: 90px;
  z-index: 100;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 55px;
  left: 55px;
  animation: rotate .5s infinite linear;
}

A Pen by Patrick Cox JS Codes

$(document).ready(function() {
  $(".submit").click(function() {
    $('.overlay').show();
    $('.spinner').show();
  });
});
Do you want hide your ip address?Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup.