html - Styling dropdown CSS -


i trying style dropdown list according this image here. able dropdown box not sure how can looking same. input extermly helpful.

this have far.

i have tried looking examples online have not found similar. help.

div#setting-dropdown {      position: absolute;      margin-left: 1350px;  	display: inline-block;  }      div#setting-dropdown-content {      background: rgba(0, 173, 239, 1);      width: 237px;      display: none;      /* padding: 8px; */      position: absolute;      margin-left: -105px;      margin-top: -15px;      padding: 15px;  }    div#setting-dropdown p {      font-size: 22px;      margin-top: 44px;      font-family: 'museo slab 700';  }    img#setting-blue-arrow {      position: relative;      margin-left: 121px;      top: -44px;  }    div#setting-dropdown-content {      color: white;      text-decoration: none;      /* display: none; */      font-size: 19px;      font-family: 'museo slab 300';      padding: 2px;  }    #setting-dropdown:hover #setting-dropdown-content {  	display:block;  }
<!doctype html>  <html>  <head>  	<title>averios</title>  	<link rel="stylesheet" type="text/css" href="averios.css">  	<link rel="stylesheet" type="text/css" href="font-awesome.css">  	<link rel="stylesheet" type="text/css" href="dropdown.css">  <meta charset="utf-8">  </head>  <body>  <div class="averios-header">  	<div id="setting-dropdown">  		<!-- setting dropdown go here -->  		<p> settings </p>  		<img id="setting-blue-arrow" src="c:\users\msehgal\desktop\averios\images\downarrow.png" width="29" height="15"/>  		<div id="setting-dropdown-content">  			<a href="#">change password</a>  			<a href="#">change security settings</a>  		</div>  	</div>  	<div id="averios-logo">  		<img src="averioslogo.png" width="176" height="129">  	</div>  	<div id="setting-dropdown">  		<!-- setting dropdown go here -->  	</div>  	<div id="header-hr">  	</div>  </div>    <div id="log-in">  	<div id="loginheader">  		<h1>portal</h1>  	</div>  	<div id="welcome-text">  		<p> welcome name </p>  		<p> last login time on date </p>  		<br>  		<p> please select application below begin </p>  	</div>  </div>  </body>  </html>

are looking this?

* {    margin: 0;    padding: 0;    list-style: none;  }  .dropdown-trigger {    line-height: 1;    padding: 5px;    display: inline-block;    position: relative;    cursor: pointer;  }  .dropdown-trigger {    display: inline-block;    padding: 5px;    padding-right: 7px;    text-align: center;    border-radius: 10px 10px 0 0;    padding-bottom: 10px;  }  .dropdown-trigger:hover {    background-color: #99f;  }  .dropdown-trigger:hover .dropdown-menu {    display: block;  }  .dropdown-menu {    display: none;    background-color: #99f;    position: absolute;    right: 5px;    padding: 5px;    left: 5px;  }  .dropdown-menu li {    padding: 5px;  }
<link rel="stylesheet" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" />  <div class="dropdown-trigger">    dropdown <i class="ion-chevron-down"></i>    <div class="dropdown-menu">      <ul>        <li>item 1</li>        <li>item 2</li>        <li>item 3</li>      </ul>    </div>  </div>


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -