Upload files to "/"
This commit is contained in:
42
page.html
Normal file
42
page.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<style>
|
||||
#dropdown {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#dropdown-content {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
background-color: #f9f9f9;
|
||||
min-width: 80px;
|
||||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
||||
padding: 12px 16px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* .dropdown:hover .dropdown-content {
|
||||
display: block;
|
||||
} */
|
||||
</style>
|
||||
|
||||
<div id="dropdown">
|
||||
<span id="dropdown-button"></span>
|
||||
<div id="dropdown-content">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <script>
|
||||
let dropdown = document.getElementById("dropdown");
|
||||
let content = document.getElementById("dropdown-content");
|
||||
console.log('ooo')
|
||||
|
||||
dropdown.onclick = abc;
|
||||
|
||||
function abc(){
|
||||
console.log('ooo')
|
||||
content.style.display = "block"
|
||||
}
|
||||
|
||||
|
||||
</script> -->
|
||||
Reference in New Issue
Block a user