A w3-btn-block button has a width of 100%, and spans the entire width of the parent element.
Different width of parent elements: