J
J
jeruthadam2017-08-18 15:59:03
Layout
jeruthadam, 2017-08-18 15:59:03

Why does z-index not work, how to make an element on top of another?

Why is there text below the image? How to make it from above please tell me? changeable-glove.surge.sh/parallax

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Egor Astreiko, 2019-04-16
@Mars1k

<div class="toolTip">
        <p class="toolTip__content">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequuntur distinctio dolore ipsam iste nobis pariatur possimus quia, quidem quisquam quos?</p>
        <!-- /.toolTip__content -->
    </div>
    <!-- /.toolTip -->

.toolTip {
  width: 400px;
  height: 150px;
  background-color: #ebebeb;
  border-radius: 5px;
  margin-left: 50px;
  position: relative;
  padding: 20px;

  &::before {
    content: "";
    width: 30px;
    height: 30px;
    transform: rotate(45deg);
    position: absolute;
    left: -15px;
    top: 30%;
    background-color: #ebebeb;
  }
}

R
Rheinmetall, 2017-08-18
@jeruthadam

www.prntscr.com/ga2ffk

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question