A Pen by Chris Kelley

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

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Chris Kelley</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <select>
  <option value="" disabled="">Select Time Frame...</option>
  <option value="3mo">Last 3 months</option><option value="6mo">Last 6 months</option>
  <option value="thisYear">2018</option>
  <option value="lastYear">2017</option><option value="all">All Time</option>
  
</select>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/digitalcraft/a-pen-by-chris-kelley-jzaMXO */
select, textarea {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.4;
    border: 1px solid #dfdfe1;
    border-radius: 0;
    font-weight: 400;
    color: #333e48;
    background-color: #fff;
    resize: none;
    outline: none;
}
select {
    padding: .75em 2em .75em 1.25em;
    background: #fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iNSIgdmlld0JveD0iM…BsLTUgNSIgZmlsbD0iY3VycmVudENvbG9yIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4K) 100% no-repeat;
    background-size: 2em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


button, select {
    text-transform: none;
}
button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

Comments