Skip to content

Commit

Permalink
Little Adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
laistdomiciano committed Jul 9, 2024
1 parent 90d5276 commit 3c9710c
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions style/sections/_about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,26 @@
}

&__image {
display: flex;
height: 100%;
align-items: center;
justify-content: center;
img {
max-width: 350px;
width: 100%;
}
/* ... other styles ... */
position: relative; /* Make the element positionable */
}

&__image::before {
content: ''; /* Hide the pseudo-element */
position: absolute; /* Position it absolutely within the parent */
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%; /* Create the rounded frame */
background-color: #fff; /* Set the background color (optional) */
}

img {
/* Adjust max-width if needed for a smaller image */
max-width: 300px; /* Adjust this value for desired image size */
width: 100%;
}

@include respond(tab-land) {
height: 100%;
Expand Down

0 comments on commit 3c9710c

Please sign in to comment.