fixed hover of portfolio
This commit is contained in:
parent
3c36906d86
commit
d73e027641
@ -998,6 +998,8 @@ section {
|
||||
.portfolio .portfolio-item .portfolio-img {
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--background);
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.portfolio .portfolio-item .portfolio-img img {
|
||||
@ -1008,11 +1010,11 @@ section {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
left: 15px;
|
||||
bottom: 0;
|
||||
bottom: 3px;
|
||||
z-index: 3;
|
||||
right: 15px;
|
||||
transition: all ease-in-out 0.3s;
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
background: rgba(0, 0, 0, 0.9);
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
@ -1058,8 +1060,9 @@ section {
|
||||
color: #ffc041;
|
||||
}
|
||||
|
||||
.portfolio .portfolio-item:hover .portfolio-img img {
|
||||
transform: scale(1.2);
|
||||
.portfolio .portfolio-item:hover .portfolio-img {
|
||||
/* transform: scale(1.2); */
|
||||
border-color: var(--highlight);
|
||||
}
|
||||
|
||||
.portfolio .portfolio-item:hover .portfolio-info {
|
||||
|
Loading…
x
Reference in New Issue
Block a user