Close

Search bar with hover effects

This is an example of a search bar with hover effects, designed using CSS, HTML, and Bootstrap framework 4. The body of the form is given a background color of #e74c3c, and the height and the width are set as 100%. The search input is given a style set of font color as white, margin-top as 5px, line-height as 40px, and transition value as width 0.4s linear. The caret color of the search input is set as red. In a hover event. The search icon is given a style set of height and width as 50px, float as right, display as flex, justify-content as center, align-items as center, border-radius as 50% to get the circle shape, font color as white, and background-color as black. The search icon changes its background color to red and the font color to #fff. Source: https://bbbootstrap.com/snippets/awesome-search-bar-hover-17080978

Post Comment or Questions

Lorem ut labore et dolore magna aliqua. Ut enim ad minim veniam.

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Several Related Snippets

Lorem ut labore et dolore magna aliqua. Ut enim ad minim veniam.