A
A
AhmedGasem2016-09-16 16:32:48
css
AhmedGasem, 2016-09-16 16:32:48

How to make border-bottom the entire length of the page?

67397f19222546a39ea037411bf97803.jpg
The container has a width of 1170px, and I want to make it the entire width of the page, but it does not go out, and because it is a child element. What should I do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
iBird Rose, 2016-09-16
@iiiBird

you make a block with border-bottom at the break point, and then put before and after it with the same border and the width is just as much as you need so that it is full width

A
Artem Ponomarev, 2016-09-16
@goldmayor

I'm not special, but try to make the line full width and position it as absolute, according to the relative property of the parent

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question