Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Cutting image dinamically Reply To: Cutting image dinamically

#247618
Shikkediel
Participant

You could give this a try:

.imgdiv:before {
  content: "";
  width: 7%;
  height: 100%;
  position: absolute;
  background: white;
  -webkit-transform: translate(-100%) skew(-7deg);
  transform: translate(-100%) skew(-7deg);
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}