Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the Document</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.3.0/lodash.js"></script> </head> <body> <script> // the script will not execute till the stylesheet is loaded alert(getComputedStyle(document.body).marginTop); </script> </body> </html>