특정 섹션에서 어려움을 겪고 있습니다. 원하는 목표는 this과 같습니다.텍스트 및 이미지 정렬
그리고 나는 this을 얻고 있습니다.
.timeline {
text-align: center;
}
#about-us {
ul {
&:before {
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 2px;
margin-left: -1.5px;
content: '';
background-color: #f1f1f1;
z-index: -1;
}
}
img {
width: 150px;
height: 150px;
border-radius: 50%;
}
}
.timeline-img {
border: 7px solid #f1f1f1;
border-radius: 50%;
text-align: center;
display: inline-block;
}
.timeline-1,
.timeline-3 {
.timeline-info {
float: left;
width: 45%;
text-align: right;
}
}
.timeline-2,
.timeline-4 {
.timeline-info {
float: right;
width: 45%;
text-align: left;
}
}
마지막으로 회색 선이 조금 흘러 넘치며 마지막 이미지만큼 길어질 수 없습니다.
는이 부트 스트랩의 그리드 시스템을 사용 반대인가? 지금 그리드 시스템을 사용하는 솔루션을 개발 중입니다. –