Code

Just like the Posting Source Code feature works in the classic editor, with the Code Block you can add formatted code for others to view.

Block name: core-code
CSS: Gutenberg core

@media only screen and (min-width: 960px) {

	body .alignfull {
		width: auto;
		max-width: 1000%;

		margin-right: calc(50% - 50vw);
		margin-left: calc(50% - 50vw);
	}

	body .alignwide {
		width: auto;
		max-width: 1000%;
		margin-right: calc(25% - 25vw);
		margin-left: calc(25% - 25vw);
	}

	.alignwide img,
	.alignfull img {
		display: block;
		margin: 0 auto;
	}
}

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top