UNPKG

get-style-property

Version:

Gets the current value of a style property for a given DOM element.

24 lines (23 loc) 537 B
<!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <style type="text/css"> .foo { min-height : 20px; min-width : 200px; padding : 10px; margin : 10px; background : antiquewhite; border : 1px solid antiquewhite; border-radius : 5px; }; </style> <title>Testing get-style-property</title> </head> <body> <h2>Testing get-style-property</h2> <div class="foo"></div> <script type="text/javascript" src="bundle.js"></script> </body> </html>