File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ img {
315
315
/* width: 70%; */
316
316
}
317
317
318
- .team__container . team__card {
318
+ .team__card {
319
319
position : relative;
320
320
width : 300px ;
321
321
height : 400px ;
@@ -329,7 +329,7 @@ img {
329
329
backdrop-filter : blur (10px );
330
330
}
331
331
332
- .team__container . team__card . team__content {
332
+ .team__content {
333
333
position : relative;
334
334
display : flex;
335
335
justify-content : center;
@@ -339,12 +339,12 @@ img {
339
339
transition : 0.5s ;
340
340
}
341
341
342
- .team__container . team__card : hover .team__content {
342
+ .team__card : hover .team__content {
343
343
opacity : 1 ;
344
344
transform : translateY (-20px );
345
345
}
346
346
347
- .team__container . team__card . team__content . team__img {
347
+ .team__img {
348
348
position : relative;
349
349
width : 150px ;
350
350
height : 150px ;
@@ -353,7 +353,7 @@ img {
353
353
border : 10px solid rgba (0 , 0 , 0 , 0.25 );
354
354
}
355
355
356
- .team__img img {
356
+ .team__img > img {
357
357
position : absolute;
358
358
top : 0 ;
359
359
left : 0 ;
@@ -362,7 +362,7 @@ img {
362
362
object-fit : cover;
363
363
}
364
364
365
- .team__text h3 {
365
+ .team__text > h3 {
366
366
color : var (--text-color );
367
367
text-transform : uppercase;
368
368
letter-spacing : 2px ;
@@ -372,7 +372,7 @@ img {
372
372
line-height : 1.1em ;
373
373
}
374
374
375
- .team__text span {
375
+ .team__text > span {
376
376
font-size : 12px ;
377
377
font-weight : 300 ;
378
378
text-transform : initial;
@@ -384,7 +384,7 @@ img {
384
384
display : flex;
385
385
}
386
386
387
- .team__icon li {
387
+ .team__icon > li {
388
388
list-style : none;
389
389
margin : 0 10px ;
390
390
transform : translateY (40px );
You can’t perform that action at this time.
0 commit comments