![]() |
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. Semantic UI Modal displays content above the screen that temporarily blocks interaction with the main view of the site. We need to act according to the details provided by the modal. Semantic-UI Modal Scrolling Content Variation is used for setting the modal that can use the entire size of the screen. Semantic-UI Modal Scrolling Content Variation class:
Syntax: <div class="ui modal"> <div class="header">Header</div> <div class="scrolling content"> <p>Very long content goes here</p> </div> </div> The below example illustrates the Semantic-UI Modal Scrolling Content Variation. Example 1: In this example, we will create a modal that will trigger by clicking the modal button then the content modal will be scrollable, sometimes the content we want to show in the modal will be lengthy that’s the purpose of making a modal scrollable. HTML
Output: ![]() Semantic-UI Modal Scrolling Content Variation Example 2: In this example, we will create a list-type content that will be scrollable. HTML
Output: ![]() Semantic-UI Modal Scrolling Content Variation Reference: https://semantic-ui.com/modules/modal.html#scrolling-content |
Reffered: https://www.geeksforgeeks.org
Web Technologies |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 11 |