210702 UIUX WebDesign CSS 연습_58_3(index.html -> main.css)

ITisIT210·2021년 7월 4일
0

CSS

목록 보기
79/93
post-thumbnail
@charset "utf-8";


/* top 영역 */
#top {
    padding-top: 30px;
    height: 900px;
    background: url("../images/main_visual.jpg") no-repeat center top;
}

/* header 영역 */
#header {
    height: 100px;
    background: #fff;
    position: relative;
}

#header h1 {
    position: absolute;
    left: 40px;
    top: 25px;
}

#header .gnb {
    position: absolute;
    right: 20px;
    top: 35px;
}

/* 1depth */
#header .gnb > li {
    float: left;
}

#header .gnb > li > a {
    padding: 0px 50px 15px;
    display: block;
    font-size: 20px;
}

#header .gnb > li:hover a {
    color: #f78011;
}

/* 2depth */
#header .gnb > li > .depth2 {
    display: none;
    background: #000;
}

#header .gnb > li > .depth2 > li > a {
    display: block;
    padding: 30px 0px 20px;
    font-size: 15px;
    text-align: center;
    color: #fff;
}

#header .gnb > li > .depth2 > li > a:hover {
    color: #f4680c;
}

#header .gnb > li:hover > .depth2 {
    display: block;
}


#visualTxt {
    padding-top: 370px;
    padding-left: 40px;
    color: #fff;
}

#visualTxt h2 {
    font-size: 40px;
    font-weight: 900;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

#visualTxt .more {
    margin-top: 50px;
    padding-top: 10px;
    width: 150px;
    height: 45px;
    border: 1px solid #fff;
    border-radius: 50px 50px 50px 50px;
    font-size: 15px;
    text-align: center;
}

#visualTxt .more a {
    color: #fff;
}

/* biz 영역 */
#biz {
    margin: 135px 0px 150px;
    text-align: center;
}

#biz h3 {
    margin-bottom: 30px;
    font-family: 'Poppins';
    font-size: 40px;
    font-weight: 900;
}

#biz p {
    margin-bottom: 50px;
    font-size: 15px;
}

#biz .bizList li {
    width: calc(100% / 4);
    height: 407px;
    float: left;
}

#biz .bizList li:nth-child(1) {
    background: rgba(0, 0, 0, 0.2) url("../images/biz_01.jpg") no-repeat center top;
}

#biz .bizList li:nth-child(2) {
    background: url("../images/biz_02.jpg") no-repeat center top;
}

#biz .bizList li:nth-child(3) {
    background: url("../images/biz_03.jpg") no-repeat center top;
}

#biz .bizList li:nth-child(4) {
    background: url("../images/biz_04.jpg") no-repeat center top;
}

#biz .bizList li a {
    padding: 180px 0px;
    display: block;
    color: #fff;
    background:rgba(0,0,0,0.5);
}

#biz .bizList li a:hover {
    background: rgba(23,70,157,0.7);
}

/* about 영역 */
#about {
    padding: 100px 0px;
    height: 480px;
    color: #fff;
    background: url("../images/about_bg.jpg") no-repeat center top;
}

#about .inner {
    height: 250px;
    position: relative;
}

#about h4 {
    margin-bottom: 40px;
    font-family: 'Poppins';
    font-size: 45px;
    font-weight: 900;
    line-height: 1.0;
}

#about p {
    font-size: 15px;
}

#about .aboutLeft {
    float: left;
}

#about .aboutRight {
    width: 800px;
    float: right;
}

#about ul li {
    margin-right: 30px;
    width: calc((100% - 60px) / 3);
    text-align: center;
    height: 250px;
    float: left;
}

#about ul li:nth-child(1) {
    background: rgba(244,104,17,0.7) url("../images/icon_01.png") no-repeat center 60px;
}

#about ul li:nth-child(2) {
    background: rgba(12,21,47,0.7) url("../images/icon_02.png") no-repeat center 60px;
}

#about ul li:nth-child(3) {
    background: rgba(7,37,93,0.7) url("../images/icon_03.png") no-repeat center 60px;
    margin-right: 0px;
}

#about ul li a {
    padding: 150px 0px 52px;
    display: block;
    color: #fff;
}

#about ul span {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
}

/* footer 영역 */
#footer {
    height: 210px;
    background: #000;
}

#footer .inner {
    position: relative;
}

#footer address {
    color: #808080;
    position: absolute;
    left: 0px;
    top: 55px;
}

#footer .copy {
    color: #333;
    position: absolute;
    left: 0px;
    top: 115px;
}





profile
Engineering is the closest thing to magic that exists in the world.

0개의 댓글

관련 채용 정보