Innerbox calculation that follows the page width

This will work when the parent has a width of 60% and the “floating global page width” is 1400px
.w_60pct_inner_box_left {
   width: 100%;
   margin-left: calc(( 100% / 6 * 4 + 100% - 1400px ) / 2);
}
Comments