Blog

Block: Button

Button blocks are not semantically buttons, but links inside a styled div. 

If you do not add a link, a link tag without an anchor will be used.

Check to make sure that the text wraps correctly when the button has more than one line of text, and when it is extra long.

Buttons have three styles: 

If the theme has a custom color palette, test that background color and text color settings work correctly. 

Now lets test how buttons display together with large texts.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio.

Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna. Praesent sit amet ligula id orci venenatis auctor. Phasellus porttitor, metus non tincidunt dapibus, orci pede pretium neque, sit amet adipiscing ipsum lectus et libero. Aenean bibendum. Curabitur mattis quam id urna.

Vivamus dui. Donec nonummy lacinia lorem. Cras risus arcu, sodales ac, ultrices ac, mollis quis, justo. Sed a libero. Quisque risus erat, posuere at, tristique non, lacinia quis, eros.

Items in the block category have been created with the block editor.
Items in the classic category have been created with the classic editor.
Posts that have edge-case related tests
Posts in this category test markup tags and styles.
Posts that have media-related tests
►
This is a parent category. It will contain child categories
This is a description for the Child Category 01.
This is a description for the Child Category 02.
This is a description for the Child Category 03.
This is a description for the Child Category 04.
This is a description for the Child Category 05.
Posts in this category test post formats.
Posts with template-related tests
Posts in this category test unpublished posts.
Privacy Overview

Este site usa cookies para que possamos oferecer a você a melhor experiência de usuário possível. As informações de cookies são armazenadas em seu navegador e desempenham funções como reconhecê-lo quando você retorna ao nosso site e ajudar nossa equipe a entender quais seções do site você considera mais interessantes e úteis.