2021.08. 13 CSS์‹ค์Šต(26-2)๐ŸฅŠ

hae.logยท2021๋…„ 8์›” 13์ผ

audio.html โœ

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>๋„ค์ด๋ฒ„</title>

	<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>


	<header id="audio-header">

		<div class="audio-container">

			<nav id="audio-nav" class="audio-flex-between">

				<div class="audio-nav-left audio-flex-between">
					<h1 class="audio-logo">
						<a href="#">audio clip</a>
					</h1>

					<ul class="audio-flex-end">
						<li><a href="#" class="active"><span>ํ™ˆ</span></a></li>
						<li><a href="#"><span>๋žญํ‚น</span></a></li>
						<li><a href="#"><span>์—ฐ์žฌ ์ฑ„๋„</span></a></li>
						<li><a href="#"><span>์˜ค๋””์˜ค๋ถ</span></a></li>
						<li><a href="#"><span>์นดํ…Œ๊ณ ๋ฆฌ</span></a></li>
						<li><a href="#"><span>์ด๋ฒคํŠธ</span></a></li>
					</ul>
				</div>

				<div class="audio-nav-right audio-flex-between">
					<div class="search-wrap audio-flex-start">
						<i class="icon-search"></i>
						<input type="text">
					</div>

					<div class="profile-wrap">
						<img src="https://via.placeholder.com/32" class="profile-img">
						<a href="#" class="btn-login">๋กœ๊ทธ์ธ</a>
					</div>
				</div>

			</nav>

		</div>

	</header>	





</body>
</html>

audio.css โœ

/* ์˜ค๋””์˜ค ํด๋ฆฝ */

.audio-container {
	width: 1080px;
	margin: 0 auto;
}

.audio-flex-start {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
}

.audio-flex-between {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	align-content: stretch;

}

.audio-flex-center {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
}

.audio-flex-end {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	align-content: stretch;
}





#audio-header {
	position: fixed;
	width: 100%;
	background-color: #ffffff;
	border-bottom: solid 1px #efeff4;

	left: 0;
	top: 0;

	z-index: 99999;
}


#audio-header .audio-nav-left {
	width: 660px;
}

#audio-header .audio-nav-left .audio-logo {
	font-size: 25px;
}

#audio-header .audio-nav-left .audio-logo a {
	
}

#audio-header .audio-nav-left ul {
	padding-top: 10px;
}

#audio-header .audio-nav-left li {

}

#audio-header .audio-nav-left li a {
	display: block;
	font-size: 17px;
	padding: 12px 13px 17px 12px;
}

#audio-header .audio-nav-left li a.active {
	font-weight: 700;
}

#audio-header .audio-nav-left li a span {
	position: relative;
	display: inline-block;
	height: 21px;
}

#audio-header .audio-nav-left li a.active span:after {
	display: block;
	position: absolute;
	content: "";
	border-bottom: solid 3px #222222;
	border-radius: 1.5px;

	z-index: 1;

	left: -4.5px;
	right: -5.5px;
	bottom: -17px;
}



#audio-header .audio-nav-right {
	width: 330px;
}

#audio-header .audio-nav-right .search-wrap {
	width: 180px;
	height: 40px;
	background-color: #ffffff;
	border: solid 2px rgba(0, 86, 201, .2);
	border-radius: 4px;
}

#audio-header .audio-nav-right .search-wrap .icon-search {
	width: 40px;
	height: 100%;
	background-color: yellow;
}

#audio-header .audio-nav-right .search-wrap input {
	width: calc(100% - 40px);
	height: 100%;

	padding: 8px 15px;
	font-size: 15px;

	outline: none;
	border: none;
}

#audio-header .audio-nav-right .search-wrap input:focus {
	outline: none;
}

#audio-header .audio-nav-right .profile-wrap {

}

#audio-header .audio-nav-right .profile-wrap .profile-img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

#audio-header .audio-nav-right .profile-wrap .btn-login {
	font-size: 15px;
	padding-left: 8px;
}

๐Ÿš€ ๊ฒฐ๊ณผ๋ฌผ

0๊ฐœ์˜ ๋Œ“๊ธ€