Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

make created element brighter

window.addEventListener('load', (event) => {
 
let divLoad = document.createElement("div");
divLoad.innerText = "Random Text"
divLoad.style.filter = "brightness(300%)";
  
}
 
PREVIOUS NEXT
Tagged: #created #element #brighter
ADD COMMENT
Topic
Name
3+6 =