
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
<div class="mypostingbox"> 에서 4개의 칸들을 style에서 backgroung-color와 color 코딩 할때
강의에선
.form-floating > input {
background-color: transparent;
color: white;
}
.form-floating > label {
color: white;
}
으로 알려주셨는데,
<body>에서 보면
<div class="mypostingbox">
<div class="form-floating mb-3">
<input type="email" class="form-control" id="floatingInput" placeholder="영화 이미지 주소">
<label for="floatingInput">영화 이미지 주소</label>
</div>
form-floating mb-3에서 왜 "mb-3"은 빼고 style에서 작업하는건가요?
.form-floating mb-3> input {
background-color: transparent;
color: white;
}
.form-floating mb-3 > label {
color: white;
}
으로 코딩 입력하는게 맞지 않나요?? class 이름은 다 ㅆㅓ야하는게 맞는거 아닌지 궁금합니다.

