I individually tried the 1st and 3rd methods, but did not work. When I tried them together, it worked for me. This, of course, is a copy of the above, but this is what it looks like.
input[type="text"] { border:none; border-bottom:1px solid black; } .text-line { background-color: transparent; color: #eeeeee; outline: none; outline-style: none; border-top: none; border-left: none; border-right: none; border-bottom: solid #eeeeee 1px; padding: 3px 10px; } </style> </head> <body> <h2>Card</h2> <div class="card"> <div class="container"> <h4><b>Question</b></h4> <input type="text" class="text-line"/> <p>Architect & Engineer</p> </div> </div> </body>
vagdevi
source share