JSFiddle - React, Tailwind, and code Playground

by Ashish Kasama

HTML

<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.dropbtn {
    background-color: #fff;
    color: #333e48;
    padding: 13px;
    font-size: 16px;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    height: 400px;
    box-shadow: 3px 3px 0px 1px rgba(0,0,0,0.1);
    z-index: 1;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top:1px solid #ccc;
}
.btn_sign in{



}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #ddd}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #fff;
    color: #00c2ff
}
</style>
</head>
<body>



<div class="dropdown">
  <button class="dropbtn">Sign in<i class="fa fa-angle-down" style="
    margin-left: 5px;
"></i></button>
  <div class="dropdown-content">
    <p style="
    font-family: Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;
    color: #666;
    line-height: 16px;
    font-size:13px;
   text-align: center;
    ">Welcome to WEBUY-SHOP.com</p>
    <a rel="nofollow" href="https://www.webuy-shop.com/account/login" 
    style="display: inline-block;
    width: auto;
    min-width: 150px;
    height: 35px;
    padding: 0 10px;
    text-align: center;
    line-height: 38px;
    color: #fff;
    border-radius: 2px;
    background-color: #4d82b8;
    text-transform: capitalize;
    font-family: Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;
    border: none; margin-left:20px;">Sign In</a>
    
    <p style="
    font-family: Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;
    color: #666;
    line-height: 16px;
    text-align: center;
    font-size:13px;
    ">Sign In With</p>
			                           		           ...