Content added Content deleted
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
.container { |
|||
margin-bottom: 20px; |
|||
} |
|||
.container-header { |
.container-header { |
||
position: relative; |
position: relative; |
||
Line 26: | Line 30: | ||
text-align: center; |
text-align: center; |
||
font-family: sans-serif; |
font-family: sans-serif; |
||
} |
|||
.container-body { |
|||
margin: 10px 50px; |
|||
} |
} |
Revision as of 02:20, 30 October 2021
.container {
margin-bottom: 20px;
}
.container-header {
position: relative;
margin: 0 25px 0 25px;
overflow: visible;
border: none;
}
.container-header::after {
content: "";
display: block;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
height: 100%;
background: #0fd;
transform: skew(-20deg);
}
.container-header-inner {
position: relative;
z-index: 1;
line-height: 45px;
text-align: center;
font-family: sans-serif;
}
.container-body {
margin: 10px 50px;
}