inherit
.cta-text-box {
padding: 4.8rem 6.4rem 6.4rem 6.4rem;
color: #45260a;
}
.cta .heading-secondary {
/* color: #45260a; */
color: inherit;
margin-bottom: 3.2rem;
}
form
, input
태그focus
효과 변경하기*:focus {
outline: none; /* 기본적으로 포커스 시 생기는 내부 테두리 */
box-shadow: 0 0 0 0.8rem rgb(230, 126, 34, 0.5); /* 대신 바깥쪽에 테두리 표시 */
}
/* .cta 내 요소들에 적용될 focus 효과 */
.cta *:focus {
outline: none;
box-shadow: 0 0 0 0.8rem rgb(253, 242, 233, 0.5);
}
실습 결과 캡쳐