Awesome CSS Search Box Using Only HTML & CSS

Awesome CSS Search Box Using Only HTML & CSS

Coding BD has given here an Awesome CSS Search Box Using Only HTML & CSS. We create an animated search box. It is the most important part Of the Pure CSS animation tutorial. We have given more importance to CSS search bar design. We have used a CSS glowing effects animation because they need high effects. The search bar is the most important part of our every website. Use can search for her services on your website. if the user finds a search on her services then he will be happy and then he was spent time on your website. Thank you so much.

😍😍 If You like this video Please like, share and subscribe This video.😍😍

😍😍 Check Others Programming Video👇

➡️Responsive website html css javascript | part( 1 ):

➡️ Creative CSS Loading Animations Effects | 2021:

➡️ CSS Clip Path Hover Circle Hover Effects:

➡️ CSS Responsive CARD Hover Effects & Adding Stroke to Text | Html5 CSS3 2021:

➡️ Neon Light Button Animation Effects on Hover | CSS Snake Border:

➡️ Responsive Box Model Web Design Using CSS Flexbox:

➡️ Digital Clock with Animated Progress-bar | HTML CSS & Vanilla Javascript:

➡️ How to create a light to dark mode for HTML CSS & Vanilla Javascript 2021:

➡️Scroll top button :

➡️ Animated eid mubarak 2021 using Html CSS & Javascript:

➡️ Responsive Countdown Timer using Html CSS & vanilla Javascript:

Here is all Source code. You can follow this steps:

  1. Create 1 folder
  2. create 1 HTML file: index.html
  3. create 1 CSS file: style.css
  4. copy HTML code and pest HTML file, copy CSS code and past CSS file
  5. Now give a smile and jump out loud. 😍😍
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Search Box</title>
    <link href="" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
    <link rel="stylesheet" href="style.css">
    <div class="search-box">
        <input class="search-text" type="text" placeholder="Type to search">
        <a class="search-btn" href="#">
            <i class="fa fa-search"></i>
    margin: 0;
    background-color: #e84118;
    text-decoration: none;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #2f3640;
    height: 40px;
    border-radius: 40px;
    padding: 10px;
.search-box:hover > .search-text{
    width: 240px;
    padding: 0 6px;
.search-box:hover > .search-btn{
    background-color: #fff;
    float: right;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2f3640;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;

    border: none;
    background: none;
    outline: none;
    float: left;
    padding: 0;
    color: #fff;
    font-size: 16px;
    transition: 0.4s;
    line-height: 40px;

Don’t Forget to Follow me on all Social Network,


Facebook Page: Coding BD –



Animation is what makes a website attractive to the user. When a user enters your website, if he does not like your website, he will leave your website And so the animation is very important for a website now. You can check out our other posts. suppose Create Animated Website Using HTML5 & CSS3 , Creative Product Card UI Design in HTML CSS

codingbd #search #htmlcssJavascript

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *