skill-assessment-app/app/assets/stylesheets/elements/_header.scss

22 lines
387 B
SCSS
Raw Normal View History

2017-05-02 14:04:13 -05:00
header {
position: relative;
padding: 0.375em 0 0.375em 1.5em;
text-transform: uppercase;
line-height: 1;
font-size: 1.25em;
font-weight: bold;
&::before {
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
transform: skewX(-16.5deg);
background-color: $pd-red;
width: 3px;
content: "";
transform-origin: bottom;
}
}