Skip to content
Permalink
Browse files

added body styles

  • Loading branch information
Alex Mueller
Alex Mueller committed Mar 5, 2020
1 parent b2d24ed commit f59c43e6359d982d257eaa921c1e6b5d190b58e3
Showing with 6 additions and 0 deletions.
  1. +6 −0 dom-playground-master/js/fix-the-page.js
@@ -66,6 +66,12 @@ resources.forEach(resource => {
resourceList.appendChild(listItem);
});

let body = document.querySelector('body')
body.style.font = '10pt/14pt "Trebuchet MS", sans-serif'
body.style.color = '#000033'
body.style.background = '#69f'
body.style.margin = '0'

let pageWrapper = document.querySelector('body>div')
pageWrapper.className = 'page-wrapper'

0 comments on commit f59c43e

Please sign in to comment.
You can’t perform that action at this time.