Number Plate

In this example below you will see how to do a Number Plate with some HTML / CSS and Javascript

Use HTML and CSS to create a post-it note to add on your webpage.Forked from 101 Computing's Pen Post-it notes.

Thumbnail
This awesome code was written by 101Computing, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright 101Computing ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Number Plate</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <div id="plate">
  <div id="number">
  CS15 NET
  <div>
</div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/101Computing/number-plate-Icwtx */
#plate {
  display: block;
  width: 450px;
  height: 100px;
  background-color: #FFFF00;
  box-shadow: 10px 10px 5px #888888;
  border: 5px solid;
  border-radius: 20px;
}
  
#number {
  text-align: center;
  padding: 10px 50px 50px 50px;
  color: #000000;
  font-family: Trebuchet MS;
  font-size: 70px;
  font-weight: bold;
}

/* The second part of this CSS is for the gradient. This may seem quite complex as it generates some code for each browser. To create your own gradient effect use:
http://www.colorzilla.com/gradient-editor/
*/

#plate {
   background: #ffff00; /* Old browsers */
background: -moz-linear-gradient(top,  #ffff00 0%, #ffff99 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffff00), color-stop(100%,#ffff66)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #ffff00 0%,#ffff99 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #ffff00 0%,#ffff99 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #ffff00 0%,#ffff99 100%); /* IE10+ */
background: linear-gradient(to bottom,  #ffff00 0%,#ffff99 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffff00', endColorstr='#ffff99',GradientType=0 ); /* IE6-9 */
  
}



Comments