210720 UIUX WebDesign jQuery 연습_11_3(index.html -> main.css)

ITisIT210·2021년 7월 25일
0

jQuery

목록 보기
123/142
post-thumbnail
@charset "uft-8";

/* wrap h2 */
#wrap h2 {
    font-size: 35px;
    font-weight: 900;
    color: #000;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

/* header 영역 */
#header .inner {
    height: 100px;
    position: relative;
}

#header h1 {
    position: absolute;
    left: 0px;
    top: 20px;
}

/* gnb 영역 */
#header .gnb {
    position: absolute;
    right: 0px;
    top: 0px;
}

#header .gnb > li {
    float: left;
}

#header .gnb > li > a {
    /* margin-right: 70px; */
    padding: 45px 45px 25px;
    display: block;
    font-size: 20px;
    font-weight: 600;
}

#header .gnb > li:hover > a {
    background: #ffcc00;
}

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

/* #header .gnb > li:last-child a {
    margin-right: 0px;
} */

/* depth2 영역 */
#header .depth2 {
    padding: 20px 10px;
    display: none;
    background: #ff7f00;
    z-index: 99999;
    position: relative;
}

#header .depth2 li a {
    padding: 5px 15px;
    display: block;
    color: #fff;
}

#header .depth2 li a:hover {
    color: #000;
}

/* mainVisual 영역 */
#mainVisual {
    height: 400px;
    background: url("../images/mv_01.jpg") no-repeat center center;
    border-top: 1px solid #000;
}

#mainVisual .inner {
    position: relative;
}

#mainVisual .mvIntro {
    padding: 40px;
    width: 500px;
    height: 290px;
    background: #000;
    position: absolute;
    right: 0px;
}

#mainVisual .mvIntro p {
    font-size: 20px;
    color: #ff0;
}

#mainVisual .mvIntro dl dt {
    padding: 25px 0px 20px;
    font-size: 30px;
    font-weight: 600;
    color: #fff;
}

#mainVisual .mvIntro dl dd {
    font-size: 15px;
    color: #999;
}

/* biz 영역 */
#biz {
    padding: 140px 0px;
    height: 810px;
    text-align: center;
    background: #fff;
}

/* #biz h2 {
    font-size: 35px;
    font-weight: 900;
    color: #000;
} */

#biz p {
    padding: 10px 0px 50px;
    font-size: 18px;
}

/* #biz .bizCont {
    width: 1200px;
} */

#biz .bizCont li {
    width: calc(100% / 4);
    float: left;
}

#biz .bizCont li a {
    padding: 175px 0px;
    height: 400px;
    display: block;
    font-size: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s;
}

#biz .bizCont li:nth-child(1) {
    background: url("../images/biz_01.jpg") no-repeat center center;
}

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

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

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

#biz .bizCont li a:hover {
    background: rgba(51, 160, 43, 0.8);
}

/* pr 영역 */
#pr {
    padding: 100px 0px;
    height: 655px;
    background: #ddd;
}

#pr iframe {
    float: left;
}

#pr .prCont {
    width: 350px;
    height: 450px;
    float: right;
}

#pr h2 {
    line-height: 0.7;
}

#pr p {
    padding: 25px 0px 55px;
    font-size: 18px;
}

#pr a {
    padding: 15px 40px;
    font-size: 15px;
    color: #fff;
    background: #396bb0;
    border-radius: 50px;
}

/* recruit 영역 */
#recruit {
    padding: 100px 0px;
    height: 450px;
    background: url("../images/recruit_bg.png") no-repeat center top;
}

#recruit .inner {
    position: relative;
}

#recruit .recIntro {
    float: left;
}

#recruit h2 {
    padding-bottom: 10px;
    color: #fff;
}

#recruit p {
    color: #fff;
}

#recruit .recDesc {
    width: 800px;
    position: absolute;
    right: 0px;
    top: 20px;
}

#recruit .recDesc li {
    margin-right: 20px;
    width: calc((100% - 40px) / 3);
    height: 250px;
    text-align: center;
    float: left;
    transition: transform 0.5s;
}

#recruit .recDesc li a {
    padding: 152px 0px 50px;
    display: block;
    color: #fff;
}

#recruit .recDesc li a span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

#recruit .recDesc li:nth-child(1) {
    background: rgba(255, 127, 0, 0.9) url("../images/recruit_icon1.png") no-repeat center 45px;
}

#recruit .recDesc li:nth-child(1):hover {
    transform: translateY(-10px);
}

#recruit .recDesc li:nth-child(2) {
    background: rgba(57, 107, 176, 0.9) url("../images/recruit_icon2.png") no-repeat center 45px;
}

#recruit .recDesc li:nth-child(2):hover {
    transform: translateY(-10px);
}

#recruit .recDesc li:nth-child(3) {
    margin-right: 0px;
    background: rgba(51, 160, 43, 0.9) url("../images/recruit_icon3.png") no-repeat center 45px;
}

#recruit .recDesc li:nth-child(3):hover {
    transform: translateY(-10px);
}

/* footer 영역 */
#footer {
    height: 315px;
    color: #fff;
}

#footer .inner {
    text-align: center;
}

#footer h3 {
    padding: 80px 0px 40px;
}

#footer address {
    font-size: 15px;
    color: #000;
}

#footer .copy {
    font-size: 15px;
    color: #999;
}




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

0개의 댓글