Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to create this using only CSS

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #168739
    Eduard
    Participant

    Hi guys, I’m trying to create something like in this Image

    my html code for this is:

    
    <figure>
      <img src="images/main-image.png" alt="Lute - by Beyzacases" class="main-image"/>
    </figure>
    

    If someone can help me I will appreciate this. My problem is that I cannot create that shadow. I’ve try using :before for the figure tag, but as you can probably see in the above image, that “shadow” has some fadeing on it.

    Here is my pen for this “trick”. How to

    Thank you.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.