Wed, 2021-03-10 12:13
Hello! I'm a real newbie when it comes to coding, can someone take a look at this code and correct it. Needs to be JSON compatible. It's a mobile-friendly table instruction.
many thanks in advance
Pippa
"@media (max-width: 768px)": { ".dataTables_filter": { ".table thead": { "display": "none" } }, ".table, .table tbody, .table tr, .table td": { "display": "block", "width": "100%", ".table tr": { "margin bottom": "15px", ".table td": { "text-align": "right", "padding-left": "50%", "position": "relative", ".table td::before": { "content": "attr(data-label)", "position": "absolute", "left": "0", "width": "50%", "padding-left": "15px", "font-size": "15px", "font-weight": "bold", "text-align": "left" } } } } } }
Thu, 2021-03-11 11:59
#1
What's wrong with it? You've
What's wrong with it? You've just posted a snippet of nested CSS, but we don't know what we're supposed to be looking for.