代码拉取完成,页面将自动刷新
Responsive React Hero built with Bootstrap 5. Examples include hero image, hero banner, hero slider, hero section & more.
Check out Bootstrap Hero Documentation for detailed instructions & even more examples.
Hero banner is a full width card located at the beginning of a page.
import React from "react";
import { MDBBtn, MDBContainer, MDBTypography } from "mdb-react-ui-kit";
export default function Basic() {
return (
<>
<MDBContainer className="mt-5">
<div
className="p-4 shadow-4 rounded-3"
style={{ backgroundColor: "hsl(0, 0%, 94%)" }}
>
<MDBTypography tag="h2">Hello world!</MDBTypography>
<p>
This is a simple hero unit, a simple Hero-style component for
calling extra attention to featured content or information.
</p>
<hr className="my-4" />
<p>
It uses utility classes for typography and spacing to space content
out within the larger container.
</p>
<MDBBtn>Learn more</MDBBtn>
</div>
</MDBContainer>
</>
);
}
React Bootstrap Hero section with navbar:
React Bootstrap Background image with navbar:
Download MDB React - free UI KIT
Choose your favourite customized component and click on the image
Copy & paste the code into your MDB project
▶️ Subscribe to YouTube channel for web development tutorials & resources
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。