pookie
pookie

Reputation: 4142

position: absolute, padding and responsiveness

What I'm using:

It is using position: absolute on :before

What I want:

I want to use the navigation: enter image description here But! I also want to add padding, say 10px, to the parent container so that I get something like this: enter image description here

How can I do this and at the same time, keep it responsive?

Here is a fiddle

Here is the working fiddle

Upvotes: 0

Views: 35

Answers (1)

partypete25
partypete25

Reputation: 4413

Wrap ".stepwizard" inside a new div

<div style="padding:10px;background-color:#fff;">

Upvotes: 1

Related Questions