Bootstrap에 새로운 기능이 추가되어서 방금 놀았습니다. 그러나 내가 일을 할 수없는 한 가지가있다. 그리고 이것은 점보트론에서 h1 태그의 색을 변경합니다.Bootstrap의 h1 색상 변경 Jumbotron
HTML 코드 :
<!DOCTYPE html>
<html>
<head>
<title>Hello WWW</title>
<link rel="stylesheet" href="main.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
</head>
<body>
<div class="jumbotron">
<h1>Progression of Connected Computing</h1>
<p>Learn more about the internet</p>
</div>
</body>
</html>
main.css가 코드 :
.jumbotron h1{
color: #fff;
}
.jumbotron p{
color: #fff;
}
문제는 P 태그가 올바르게 변경과 흰색 설정하지만, 어떤 이유로 H1 태그는 안된다됩니다 ? 아마 뭔가 바보 같은 짓을하고 있지만 그게 뭔지 알 수는없는 것 같습니다. 감사!
아, 나는 바보 같은 느낌입니다. 감사합니다 / – Ethan