From f6ad5bccc4d60da1630830ec0248f0898d50c052 Mon Sep 17 00:00:00 2001 From: HE Shi-Jun Date: Mon, 28 Mar 2016 19:27:09 +0800 Subject: [PATCH] adjust style of navigation buttons --- takahashi/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/takahashi/index.js b/takahashi/index.js index acf4de9..a28c0db 100644 --- a/takahashi/index.js +++ b/takahashi/index.js @@ -120,7 +120,9 @@ function startPresentation() { controls.style.bottom = '0' controls.style.left = '0' controls.style.right = '0' - controls.innerHTML = '' + controls.style.color = 'gray' + controls.style.opacity = '0.6' + controls.innerHTML = '' document.body.appendChild(controls) controls.addEventListener('click', event => { if (event.target.matches('button.next')) nextSlide()