Stretched link

Bootstrap Stretched link

Make any HTML element or Bootstrap component clickable by “stretching” a nested link via CSS.

Card with stretched link

Add .stretched-link to a link to make its containing
block clickable via a ::after pseudo element. In
most cases,
this means that an element with position: relative; that contains a link with the .stretched-link
class is
clickable.

Cards have position: relative; by default in Bootstrap, so in this case you can safely add the .stretched-link
class
to a link in the card without any other HTML changes.

Multiple links and tap targets are not recommended with stretched links. However, some position and
z-index styles
can help should this be required.

Stretched link with .btn class

Streatched links don't work correctly with MDB .btn class. We
have a conflict
with position: relative; about our waves-effect.
If you want use class .btn with stretched links check this example.

Card with stretched link

Some quick example text to build on the card title and make up the bulk of the card's
content.

Columns with stretched link

Columns are position: relative by default, so clickable columns only require the .stretched-link class on a link.
However, stretching a link over an entire .row requires .position-static on the column and .position-relative on
the row.