![]() ![]() Variant to class mappingīootstrapVue variants are directly mapped to Bootstrap v4 card classes by pre-pending bg- (for solid) or border- (for bordered) to the above variant names. Lorem ipsum dolor sit amet, consectetur adipiscing elit. ![]() Further adjustments may be needed depending on your card content. ![]() Class rounded-0 removes the rounding of the corners while class overflow-hidden on will appropriately clip the image's corners based on the border-radius of the card. In the example below, we remove the row grid gutters with the no-gutters prop on and use md props on to make the card horizontal at the md breakpoint. Using a combination of grid components, utility classes and individual card sub-components, cards can be made horizontal in a mobile-friendly and responsive way. Cras justo odio Dapibus ac facilisis in Vestibulum at eros Card link Another link This is a footer Horizontal card layout Some quick example text to build on the card title and make up the bulk of the card's Place the image in the background of the card by setting the boolean prop overlay: ![]() You may find the Horizontal Card Layout example to be more flexible when creating a responsive horizontal card. Note headers and footers are not supported when images are left or right aligned. card-img-right, as images will "stretch" in height if you have content that is taller than your image. Note: For left and right images, you may need to apply additional styles to classes. Some quick example text to build on the card and make up the bulk of the card's content. Links can be added and placed next to each other by adding the. Text within can also be styled with the standard HTML tags. The last in the card body will have its bottom margin automatically removed (via CSS). With sub-component, paragraph text can be added to the card. The title is rendered using the sub-component while the Sub Title is rendered using the sub-component. Titles, text, and linksĬard titles are adding via the title prop, and sub titles are added via the sub-title prop. Use the sub-component to place your own card body anywhere in a component that has no-body set. Note that with no-body enabled, the content of the title and sub-title props will not be rendered. Lack of padding between the card's border and this gray
0 Comments
Leave a Reply. |