progressbg.mdx 1.1 KB

12345678910111213141516
  1. ---
  2. title: Progress background
  3. description: By using a progress bar component as a background element, designers can create a dynamic and engaging visual experience for users. For example, the progress bar could be used to represent the completion of a long-term goal or project, such as a fundraising campaign or construction project. As users interact with the page, the progress bar could gradually fill up, creating a sense of momentum and progress.
  4. ---
  5. ```html code example vertical centered columns={1}
  6. <div class="progressbg">
  7. <div class="progress progressbg-progress">
  8. <div class="progress-bar bg-primary-lt" style="width: 35%" role="progressbar" aria-valuenow="35" aria-valuemin="0" aria-valuemax="100" aria-label="35% Complete">
  9. <span class="visually-hidden">35% Complete</span>
  10. </div>
  11. </div>
  12. <div class="progressbg-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ea eos ullam ut. Doloribus est in laborum, ratione recusandae reprehenderit tenetur. Accusantium consectetur ea enim facere ipsam praesentium quas soluta tenetur?</div>
  13. <div class="progressbg-value">35%</div>
  14. </div>
  15. ```