Ohanyian
Ohanyian

Reputation: 33

How I put triangle to bottom border which have relative parents

enter image description here

I want to see that centered triangle in border. So, i have a problem because parent component is relative. When I remove the relative, i can't put triangle to the center. I added our code to codesandbox. Can you help me?

https://codesandbox.io/s/objective-kepler-y33rl?file=/src/StepperView.tsx

Upvotes: 0

Views: 35

Answers (1)

Luis Sardon
Luis Sardon

Reputation: 514

ok... that is a little bit tricky, you cannot make elements pop out if there is a wrapper cutting everything off. try with something like this:

Edit new-sky-ctme4

Upvotes: 1

Related Questions