Ignore parent padding

后端 未结 12 888
梦如初夏
梦如初夏 2021-01-30 19:23

I\'m trying to get my horizontal rule to ignore the parent padding.

Here\'s a simple example of what I have:

#par         


        
12条回答
  •  天涯浪人
    2021-01-30 19:33

    Another solution:

    position: absolute;
    top: 0;
    left: 0;
    

    just change the top/right/bottom/left to your case.

提交回复
热议问题