第98行: |
第98行: |
| | | |
| h3:before { | | h3:before { |
| + | content: ''; |
| position: absolute; | | position: absolute; |
− | content: '';
| |
| left: 0; | | left: 0; |
| top: 0; | | top: 0; |
| width: 100%; | | width: 100%; |
| height: 100%; | | height: 100%; |
− | border: none; | + | border: solid 3px orange; /* 与标题下方的边框样式一致 */ |
− | border-left: solid 40px white;
| |
− | border-bottom: solid 79px transparent;
| |
| z-index: -1; | | z-index: -1; |
| } | | } |
| | | |
− | h3:after {
| |
− | position: absolute;
| |
− | content: '';
| |
− | right: 0;
| |
− | top: 0;
| |
− | width: 100%;
| |
− | height: 100%;
| |
− | border: none;
| |
− | border-left: solid 40px transparent;
| |
− | border-bottom: solid 79px white;
| |
− | z-index: -1;
| |
− | }
| |
| | | |
| | | |