In my css file i say
@media (min-width: 287px) {
#footer-div
{
transform: translateY(93%);
}
}
@media (min-width: 472px) {
#footer-div
{
transform: translateY(89%);
}
}
etc... Now in javascript plain i want to get the value that applies. So in this case 93% or 89%. something like :
var stylenow = document.getElementById("footer-div").style.transform...
Element.style.transformbut this will give you the whole CSS value