i'm trying to change css of class in my HTML. I'm struggling with that already a long time, and I'm not getting what i'm doing wrong. (I've tried already many versions, but nothing happends)
For example: I would like to change the row height on this following html:
game.html
<div class="game">
<ul class="each" data-bind="foreach: {data: rows, as: 'row'}">
<li class = "li">
<ul class="row" data-bind="foreach: {data: row.beads, as: 'bead'}">
<li class="bead" data-bind="
currentSide: left,
drag: bead.drag.bind(bead),
></li>
</ul>
</li>
</ul>
app.css
.row {position: relative;
max-width: 3000px;}
game.html
$( document ).ready(function() {
var windowHeight = $( window ).height();
var rowHeight = windowHeight/5;
$('.row').css('max-width', rowHeight);
});