Created
August 24, 2015 13:44
-
-
Save xto3na/a16d674fd9a1d83259d4 to your computer and use it in GitHub Desktop.
Показывает координаты и размеры элемента DOM.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var elem = document.getElementById("coords-show-mark"); | |
var coordinatesOfElem = elem.getBoundingClientRect(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment