2021.08. 23 CSS์‹ค์Šต(3)๐ŸŒด

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

twitch.css โœ

.content {
	overflow-y: auto;
	position: absolute;
	background-color: darkblue;
	top: 50px;
	left: 240px;
  	
  	bottom: 0;
  	right: 0;
}

.content h1 {
	font-size: 40px;
}

.content #content-banner {
	position: relative;
	width: 100%;
	height: 350px;
	background: url('../img/notebook.jpg') no-repeat center;
	background-size: cover;
}

.content #content-banner .layer {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.content #content-banner .layer .txt-wrap {
	position: absolute;
	top: 170px;
	right: 200px;
}

.content .content-container {
	width: 1240px;
	margin: 0 auto;
}






/* ํƒœ๊ทธ ๋””ํดํŠธ */

.content-container .tag-wrap {
 	display: flex;
 	flex-wrap: wrap;
 	align-items: center;
}

.content-container .tag-wrap .tag {
	font-size: 12px;
	color: #ffffff;
	background-color: grey;
	border-radius: 8px;

	padding: 2px 4px 0;

	margin-right: 5px;
}

.content-container .tag-wrap .tag:last-child {
	margin-right: 0;
}

.content-container .txt-wrap {

}

.content-container .txt-wrap h3 {
	font-size: 16px;
}



/* ๋น„๋””์˜ค ์„น์…˜ */

.video-section {

}

.video-section .title-wrap {
	padding-bottom: 10px;
} 

.video-section .title-wrap h2 {
	font-size: 20px;
}

.video-section .video-wrap {

}

.video-section .video-wrap ul {

}

.video-section .video-wrap li {
	width: 333px;
}

.video-section .video-wrap a {

}

.video-section .video-wrap .image-wrap{
	position: relative;
	width: 333px;
	height: 186px;
	background-color: #9147ff;
}

.video-section .video-wrap .image-wrap img {
	width: 100%;
	height: 100%;
}

.video-section .video-wrap .image-wrap .mark {
	position: absolute;

	top: 15px;
	left: 15px;

	border-radius: 5px;
	background-color: red;

	padding: 2px 4px 0;

	font-size: 14px;
}

.video-section .video-wrap .video-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;

	margin-top: 10px;
}

.video-section .video-wrap .video-bottom .thumbnail {
	width: 40px;
	height: 40px;
}

.video-section .video-wrap .video-bottom .txt-wrap {
	width: calc(100% - 50px);
}

.video-section .video-wrap .video-bottom .txt-wrap .source,
.video-section .video-wrap .video-bottom .txt-wrap .game {
	font-size: 14px;
	color: grey;
}

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

๐ŸŒด Tip

https://gromo.github.io/jquery.scrollbar/demo/basic.html

์Šคํฌ๋กค๊ณผ ์ปจํ…์ธ ๊ฐ€ ๊ฒน์ณ์ ธ ์žˆ์–ด๋„ ์™ผ์ชฝ์œผ๋กœ ๋ฐ€๋ฆฌ์ง€ ์•Š๋Š”์˜ˆ์‹œ๋ฅผ ๋ณผ์ˆ˜ ์žˆ๊ณ , css html js ๋“ฑ ์ฝ”๋“œ๋„ ํ•จ๊ป˜ ์ฐธ๊ณ ํ•ด์„œ ์‚ฌ์šฉ๊ฐ€๋Šฅ!

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