Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save nextab/9ff6dc9366fb5e0f5df20afee7e704bb to your computer and use it in GitHub Desktop.

Select an option

Save nextab/9ff6dc9366fb5e0f5df20afee7e704bb to your computer and use it in GitHub Desktop.
Dieses Snippet ermöglicht es, Text innerhalb einer Sektion mit der Klasse .image-perspective-right mit Hintergrundfarbe zu hinterlegen.
.image-perspective-right .et_pb_module.et_pb_text .et_pb_text_inner {
line-height: 2;
}
.image-perspective-right .et_pb_module.et_pb_text p {
padding-bottom: 0.7rem;
}
.image-perspective-right .et_pb_module.et_pb_text .inner {
background-color: #fff;
-webkit-box-decoration-break: clone;
box-decoration-break: clone;
box-shadow: -5px 0px 0px #fff, 3px 0px 0px #fff;
padding: 4px 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment