한국 고등학교를 웹툰 만화체로 그려줘
- User
한국 고등학교를 웹툰 만화체로 그려줘
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
한국 고등학교를 웹툰 만화체로 그려줘
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
다음은 한국 고등학교를 웹툰 만화체로 구현한 HTML/CSS/JS 코드입니다. 🎨
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>웹툰-style 한국 고등학교</title>
<style>
body {
margin: 0;
background: #87CEEB;
font-family: 'Comic Sans MS', cursive;
}
.webtoon-container {
width: 800px;
margin: 20px auto;
background: white;
border: 8px solid #333;
border-radius: 15px;
overflow: hidden;
}
.panel {
height: 400px;
padding: 20px;
border-bottom: 5px solid #333;
position: relative;
}
.morning {
background: #FFD700;
}
.classroom {
background: #87CEEB;
}
.lunch {
background: #FFA07A;
}
.after-school {
background: #FF69B4;
}
.character {
position: absolute;
font-size: 50px;
}
.speech-bubble {
position: absolute;
background: white;
padding: 10px;
border: 3px solid black;
border-radius: 15px;
font-size: 18px;
}
.sun {
position: absolute;
font-size: 80px;
right: 50px;
top: 30px;
}
</style>
</head>
<body>
<div class="webtoon-container">
<!-- 아침 장면 -->
<div class="panel morning">
<div class="sun">☀️</div>
<div class="character" style="left:100px; bottom:50px">👦</div>
<div class="character" style="left:200px; bottom:50px">👧</div>
<div class="speech-bubble" style="left:120px; top:100px">"안녕하세요!"</div>
<div style="position:absolute; bottom:30px; left:50px; font-size:24px">🏫 학교 정문</div>
</div>
<!-- 수업 장면 -->
<div class="panel classroom">
<div class="character" style="left:300px; bottom:100px">👩🏫</div>
<div class="character" style="left:100px; bottom:150px">👦</div>
<div class="speech-bubble" style="left:350px; top:200px">"수학문제 풀어보세요"</div>
<div style="position:absolute; top:50px; left:50px; font-size:24px">📚 교실</div>
</div>
<!-- 점심 장면 -->
<div class="panel lunch">
<div class="character" style="left:200px; bottom:50px">👧👦👧👦</div>
<div class="speech-bubble" style="left:250px; top:150px">"점심시간이다!"</div>
<div style="position:absolute; bottom:30px; left:50px; font-size:24px">🍱 급식실</div>
</div>
<!-- 방과후 장면 -->
<div class="panel after-school">
<div class="character" style="left:100px; bottom:50px">⚽</div>
<div class="character" style="left:300px; bottom:50px">👦👧</div>
<div class="speech-bubble" style="left:200px; top:100px">"축구하자!"</div>
<div style="position:absolute; bottom:30px; left:50px; font-size:24px">🏟️ 운동장</div>
</div>
</div>
<script>
// 간단한 애니메이션 효과
const panels = document.querySelectorAll('.panel');
panels.forEach(panel => {
panel.addEventListener('mouseover', () => {
panel.style.transform = 'scale(1.02)';
panel.style.transition = '0.3s';
});
panel.addEventListener('mouseout', () => {
panel.style.transform = 'scale(1)';
});
});
</script>
</body>
</html>
이 코드는:
실제 파일로 저장해서 실행하면 웹툰 느낌의 인터랙티브한 한국 고등학교 scenes를 볼 수 있습니다! 더 정교한 효과를 원하면 CSS 애니메이션이나 Canvas를 추가로 구현할 수 있습니다.