강사님 안녕하세요!
home 섹션까지 전부 마치고 전체적으로 제 힘으로 다시 만들어보고 있는 중인데 아무리 삽질해도 안되는 부분이 생겨 질문드립니다...
project 섹션에서 html/css를 전부 구축하고 slick 효과를 넣는 과정에서 강사님처럼 slick을 입혔는데 .project-photo 영역이 전부 흰색으로 보이는 현상이 발생했습니다.
완성본이랑 비교해보는 중인데 일단 css를 완성본으로 덮어씌우면 slick 효과가 입혀지는 것으로 확인돼서 css에 문제가 있는 것 같다고 판단했습니다.
html은 완성본과 같은 상태이고 css는 복습과정에서 강사님 css 순서와 다르게 써내려가고 있는데 어디가 잘못된건지 도통 못찾겠습니다... ㅠㅠ 확인 한번만 부탁드립니다 ㅠㅠ
.project-inner{
background-color: #fff;
border: 1px solid #ddd;
}
.tabs{
width: 300%;
height: 100%;
transition: 0.5s;
}
.tab{
width: 33.33333%;
height: 100%;
float: left;
}
input[id=tab1]:checked ~ .tabs {
margin-left: 0;
}
input[id=tab2]:checked ~ .tabs {
margin-left: -100%;
}
input[id=tab3]:checked ~ .tabs {
margin-left: -200%;
}
input[type=radio]{
display: none;
}
.btn{
width: 36%;
height: 10px;
position: absolute;
bottom: 30px;
left: 40px;
}
.btn label{
width: 5px;
height: 5px;
background-color: #000;
border-radius: 50%;
display: block;
float: left;
margin: 0 10px;
position: relative;
cursor: pointer;
}
.btn label:first-child{
margin-left: 6px;
}
.btn label:before{
content: '';
display: block;
position: absolute;
top: -6px;
left: -6px;
width: 17px;
height: 17px;
border: 1px solid transparent;
border-radius: 50%;
transition: 0.5s;
}
.btn label:hover::before{
border: 1px solid #aaa;
}
input[id=tab1]:checked ~ .btn label[for=tab1]::before,
input[id=tab2]:checked ~ .btn label[for=tab2]::before,
input[id=tab3]:checked ~ .btn label[for=tab3]::before{
border: 1px solid #ddd;
}
.project-info{
width: 37%;
float: left;
padding-top: 20px;
padding-left: 40px;
}
.project-info h3{
margin-top: 35px;
font-size: 22px;
}
.project-info ul{
margin-bottom: 30px;
}
.project-info ul li{
margin: 10px 0;
}
.project-info ul li i{
font-size: 14px;
}
.project-info .detail{
margin-bottom: 30px;
}
.project-info .detail div{
font-size: 12px;
display: inline-block;
text-align: center;
margin: 0 15px;
}
.project-info .detail div span{
font-size: 30px;
display: block;
}
.project-info button{
border: none;
width: 230px;
padding: 12px 0;
text-transform: uppercase;
background-color: #3f3f3f;
color: #fff;
transition: 0.5s;
cursor: pointer;
}
.project-info button .fas{
transition: 0.3s;
}
.project-info button:hover{
background-color: #000;
}
.project-info button:hover .fas{
padding-left: 20px;
}
.project-photo{
width: 60%;
height: 100%;
float: right;
position: relative;
overflow: hidden;
}
.project-photo img{
position: absolute;
height: 100%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

진짜 길고 제멋대로라 파악하기 너무 힘드셨을 것 같은데 찾아주셔서 감사합니다 ㅠㅠㅠ
제이쿼리 라이브러리가 들어갈 곳에는 css 제어를 함부로 하면 안되는 것이군요!!
깨달음을 얻었어요 감사합니다 ㅠㅠ