Search
 
SCRIPT & CODE EXAMPLE
 

CSS

how to set the scroll in bootstrap4 table body

table {
    display: flex;
    flex-flow: column;
    width: 100%;
}

thead {
    flex: 0 0 auto;
}

tbody {
    flex: 1 1 auto;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
}

tr {
    width: 100%;
    display: table;
    table-layout: fixed;
}
Comment

PREVIOUS NEXT
Code Example
Css :: css firefox remove scrollbar 
Css :: how to middle fixed element 
Css :: hide element using css 
Css :: tint image css 
Css :: center a spinner css 
Css :: css comment 
Css :: gradient text color css 
Css :: text overflow ellipsis 
Css :: how to make border around text in html 
Css :: bootstrap accordion some change 
Css :: how to style multiple elements at once 
Css :: normalize css npm 
Css :: import font css 
Css :: How to horizontally center an element 
Css :: vuetify input change outline color 
Css :: robot font import 
Css :: ignore br css 
Css :: css right 
Css :: css break wrap header 
Css :: regex remove css comment 
Css :: box shadow css 
Css :: rgba green color 
Css :: double border color css 
Css :: transparent button css 
Css :: jquery add external css to head 
Css :: css for safari only 
Css :: no break line html 
Css :: css for background color 
Css :: what are types of positioning in css 
Css :: css button click color 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =