diff --git a/demos/view-source.js b/demos/view-source.js index 0b526a7..fa5bc2b 100644 --- a/demos/view-source.js +++ b/demos/view-source.js @@ -3,11 +3,12 @@ let name = parts[parts.length - 1 - 1] let a = dom.create(`查看源码`) a.style.position = 'fixed' - a.style.top = '.2em' + a.style.bottom = '.2em' a.style.right = '.2em' a.style.background = 'black' a.style.border = '1px solid white' a.style.color = 'white' a.style.padding = '.2em' + a.style.textDecoration = 'none' document.body.appendChild(a) }