CSS

Edit Image with CSS filter

Edit Images Without Photoshop using HTML & CSS only

2/20/2024
0 views
edit-image-with-css-filter.htmlHTML
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Filter Image without PhotoShop</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }

      body {
        background-color: #212121;
      }

      section {
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      img {
        width: 300px;
        height: auto;
        box-shadow: 0 5px 15px 0 rgba(255, 255, 255, 0.3);
        filter: brightness(110%)
                contrast(125%)
                hue-rotate(5deg)
                saturate(120%)
                sepia(5%)
                /* invert(2%) */
                drop-shadow(2px 5px 5px #ffffffa7);
      }
    </style>
  </head>
  <body>
    <section>
      <img
        src="https://www.pngplay.com/wp-content/uploads/1/Cute-Girl-PNG-Stock-Images.png"
        alt="Girl"
      />
    </section>
  </body>
</html>
CSS FilterImage FilterImage EditingHTML CSSWeb Design

Loading comments...

Related Examples

Deliver breaking news, insightful commentary, and exclusive reports.

Targeting readers who rely on our platform to stay ahead of the curve.

Contact Us: benzingaheadlines@gmail.com