Place fixed bar on top of a div with title

Asked

Viewed 55 times

0

I’m having trouble putting a fixed bar on top of a div, and leaving the same responsive, someone could help me?

Follow the example image below:

inserir a descrição da imagem aqui

  • Post what you’ve tried to do, please.

  • Anyway, I made a simplified example in the codepen: http://codepen.io/Gabcoder/pen/vyagRM

  • @Gabrielranéabarbosa the example you gave me is similar to what I expect, but bar should take part of the div in the case overlap and be responsive, but thank you for the strength.

  • Put the code you’re testing...

  • @Magichat unfortunately I do not have the code this image I passed is not of a ready page, but what I would like to do is only a page with a bar above covering a part of the div with a caption in the bar.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.