30 lines
528 B
CSS
30 lines
528 B
CSS
/* myComponent.css */
|
|
.image-container {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.image {
|
|
height: 100px;
|
|
width: 100px;
|
|
border-radius:100px;
|
|
display: block;
|
|
}
|
|
|
|
.overlay-icon {
|
|
position: absolute;
|
|
bottom: 8px; /* Position from the bottom */
|
|
right: 16px; /* Position from the right */
|
|
}
|
|
|
|
.dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
background-color: #f9f9f9;
|
|
min-width: 160px;
|
|
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.overlay-icon:hover .dropdown-content {
|
|
display: block;
|
|
} |