Search
 
SCRIPT & CODE EXAMPLE
 

HTML

cara membuat dropdown di html

<style type="text/css">
	html,body{
		padding: 0;
		margin:0;
		font-family: sans-serif;
	}
 
	.menu-malasngoding{
		background-color: #3141ff;
	}
 
	.menu-malasngoding ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
		overflow: hidden;
	}
 
	.menu-malasngoding > ul > li {
		float: left;
	}
 
	
	.menu-malasngoding li a {
		display: inline-block;
		color: white;
		text-align: center;
		padding: 14px 16px;
		text-decoration: none;
	}
 
	.menu-malasngoding li a:hover{
		background-color: #2525ff;
	}
 
	li.dropdown {
		display: inline-block;
	}
 
	.dropdown:hover .isi-dropdown {
		display: block;
	}
 
	.isi-dropdown a:hover {
		color: #fff !important;
	}
 
	.isi-dropdown {
		position: absolute;
		display: none;
		box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
		z-index: 1;
		background-color: #f9f9f9;
	}
 
	.isi-dropdown a {
		color: #3c3c3c !important;
	}
 
	.isi-dropdown a:hover {
		color: #232323 !important;
		background: #f3f3f3 !important;
	}
</style>
Comment

PREVIOUS NEXT
Code Example
Html :: html regex pattern 
Html :: html text color 
Html :: wifi pass 
Html :: how to use bootstrap 
Html :: js coding practices airbnb 
Html :: nav-pills class bootstrap 
Html :: tmp input field set info 
Html :: square in html 
Html :: how to find total height of single page page in html 
Html :: typo3 link 
Html :: what is tr tag used for 
Html :: h3 html 
Html :: Horizontal line with text in middle word in HTML 
Html :: html autocomplete 
Html :: include react in html 
Html :: multilevel list html 
Html :: loader for html 
Html :: bulma title 
Html :: html two classes in one element 
Html :: dropdown 
Html :: vscode regex replace href string 
Html :: htaml p 
Html :: ng class conditional angular 
Html :: formspree 
Html :: return html in swal 
Html :: html cite element 
Html :: difference between index, follow or follow 
Html :: how to get svg from pucblic folder in react 
Html :: wire:click with value 
Html :: truffle vs brownie 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =