개발 문제풀이 테스트
페이지 정보
본문
<style>
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltip .tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
.question{ font-size: 20px; padding:5px 0px 0px 5px;}
.correct:hover{ color:red; font-size: 18px;}
.answer{ font-size: 16px; padding: 5px 10px;}
/* .problem{ border: solid #E0D4D4 thin;}*/
</style>
<div class="problem">
<p class="question">Who is the best man in the world?</p>
<div class="answer">1. Joe Biden</div>
<div class="answer">2. Ronald Reagon</div>
<div class="answer">3. Bill Clington</div>
<div class="answer correct tooltip">1. kimchulyong
<span class="tooltiptext">Everybody admits kimchulyong is the best man</span>
</div>
</div>
<div class="problem">
<p class="question">프런트 프로그래밍에서 꼭 배워야 할 것은?</p>
<div class="answer">1. HTML</div>
<div class="answer">2. CSS</div>
<div class="answer">3. DataBase</div>
<div class="answer correct tooltip">4. Javascript
<span class="tooltiptext">Javascript admited by kimchulyong, It is the necessary</span>
</div>
</div>
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltip .tooltiptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
.question{ font-size: 20px; padding:5px 0px 0px 5px;}
.correct:hover{ color:red; font-size: 18px;}
.answer{ font-size: 16px; padding: 5px 10px;}
/* .problem{ border: solid #E0D4D4 thin;}*/
</style>
<div class="problem">
<p class="question">Who is the best man in the world?</p>
<div class="answer">1. Joe Biden</div>
<div class="answer">2. Ronald Reagon</div>
<div class="answer">3. Bill Clington</div>
<div class="answer correct tooltip">1. kimchulyong
<span class="tooltiptext">Everybody admits kimchulyong is the best man</span>
</div>
</div>
<div class="problem">
<p class="question">프런트 프로그래밍에서 꼭 배워야 할 것은?</p>
<div class="answer">1. HTML</div>
<div class="answer">2. CSS</div>
<div class="answer">3. DataBase</div>
<div class="answer correct tooltip">4. Javascript
<span class="tooltiptext">Javascript admited by kimchulyong, It is the necessary</span>
</div>
</div>
Who is the best man in the world?
1. Joe Biden
2. Ronald Reagon
3. Bill Clington
1. kimchulyong
Everybody admits kimchulyong is the best man
프런트 프로그래밍에서 꼭 배워야 할 것은?
1. HTML
2. CSS
3. DataBase
4. Javascript
Javascript admited by kimchulyong, It is the necessary
추천0
- 이전글자바스크립트로 만든 문제풀이 23.05.30
- 다음글Collapsible 23.05.30
댓글목록
등록된 댓글이 없습니다.