I'm trying to fit an image into the css on my site, and I want to extend the image on the whole screen, but for this I have to assign my image: margin-left
, to correct screen positioning.
Only the value that I will assign in this field is the sum of the following values, which are the margins of the containers.
$('.row').css('margin-left');
"0px"
$('.article-body').css('margin-left');
"103.875px"
$('.article-body').css('padding-left');
"18.75px"
What I want to know is if in css, I can get these values to do something like this, considering of course that these values will change with the resizing of the screen.
element-style{
margin-left: '.article-body'.marginleft + '.article...
}