Adding a 45 degree angle to a container

前端 未结 4 1927
我在风中等你
我在风中等你 2020-12-22 07:29

I have a container element that I am trying to figure out if I can shape it to have two 45 degree angles. Like this:

It is simply a rectangle now:

<

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-22 08:04

    You are achieve this using css3 selector before and after.

    
    
    WRECKING
    & DEMOLITION
    DONE RIGHT.

提交回复
热议问题