I am still learning CSS and SAPUI5, making progress but struggling with applying styles to SAPUI5 tables. I have been focusing on formatting a specific table with the ID of tbl1. In my index.html file, I have added custom CSS style definitions like:
#tbl1{
font-size: 200%;
font-weight: bold;
}
#tbl1 tr{
font-size: 150%;
background: green;
}
While this changed the table header font size and cell backgrounds, it did not affect the font size within the cells. What is the best way to achieve this?
My ultimate goal is to:
Color every second row, which is already working using:
#tbl1 tr:nth-child(even) { background-color: #DCDCDC; }
Color specific cells based on their values.