Search
 
SCRIPT & CODE EXAMPLE
 

CSS

onclick change visibility

<button onclick="theCloak();"></button>
function theCloak() {
	document.getElementById("myDiv").style.display="none";
} 
// or...
<button onclick="this.style.display='none';"></button>
Comment

PREVIOUS NEXT
Code Example
Css :: GET /style.css HTTP/1.1" 404 
Css :: electron drag window 
Css :: word wrap in css 
Css :: chmod recursive 
Css :: text underline 
Css :: text overflow ellipsis two lines 
Css :: css list line spacing 
Css :: center div inside div vertically and horizontally 
Css :: margin clickable 
Css :: css global variables 
Css :: Modify blink class in CSS 
Css :: How to make blinking/flashing text with CSS 3 
Css :: center text horizontally and vertically inside a div in css 
Css :: padding bottom 
Css :: awesome font google icon colored css 
Css :: var minus scss 
Css :: css set background image repeat vertically 
Css :: css hero image 
Css :: styles only for IE 
Css :: is better use px or pt 
Css :: css how does hsl work 
Css :: background fixed 
Css :: add border to input css 
Css :: css background linear gradient transparent 
Css :: how to change another element on hover 
Css :: how to add font otf format in html 
Css :: css disabled cursor not allowed 
Css :: flex margin between items 
Css :: line-height css 
Css :: select first div css 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =