How to create a transparent button using HTML and CSS

In this article, you will learn to create a stylish transparent button with border using css background-color:transparent property.

Create a transparent button using css
  .btn {
    background-color:transparent;
    border:none;
    border-radius:5px;
    padding:8px 16px;
    box-shadow:0 0 8px rgba(0,0,0,0.1);
  }
Try it Yourself »