.sample-heading{&:after,&:before{content:"";display:block;position:absolute;background:#fff}&:before{top:-.4em;bottom:-.3em;left:1em;right:1em}&:after{left:-.3em;right:-.3em;top:1em;bottom:1em}.heading{position:relative;z-index:1}.shimmer{color:grey;display:inline-block;-webkit-mask:linear-gradient(-60deg,#ccc 30%,#ccc8,#ccc 70%) right /300% 100%;background-repeat:no-repeat;animation:shimmer 2.5s infinite;background-color:lightgray;width:100%}}.sample-heading{padding:1rem;border-radius:4px;border:1px dashed;position:relative}.sample-heading:after,.sample-heading:before{content:"";display:block;position:absolute;background:#fff}.sample-heading:before{top:-.4em;bottom:-.3em;left:1em;right:1em}.sample-heading:after{left:-.3em;right:-.3em;top:1em;bottom:1em}.sample-heading .heading{position:relative;z-index:1}.sample-heading .shimmer{color:gray;display:inline-block;-webkit-mask:linear-gradient(-60deg,#ccc 30%,rgba(204,204,204,.5333333333),#ccc 70%) right/300% 100%;background-repeat:no-repeat;animation:shimmer 2.5s infinite;background-color:#d3d3d3;width:100%}@keyframes shimmer{10%{-webkit-mask-position:left}}