Posts
Q&A
ํ์ด๋์ธ/ํ์ด๋์์ ์ฌ๋ผ์ด๋๊ฐ ๋์ํ์ง ์์์.
$(function(){ var num = 0; $('.slide div a').ep(num).addClass('active'); setInterval(function(){ if(num
- 1
- 4
- 575
Q&A
ํ์ด๋์ธ/ํ์ด๋์์ ์ฌ๋ผ์ด๋๊ฐ ๋์ํ์ง ์์์.
@charset "utf-8"; body { color: #333333; background-color: #ffffff; margin: 0; padding: 0; } a { text-decoration: none; color: #333333; } .container { width: 1000px; border: 1px solid black; } .container > div { float: left; box-sizing: border-box; } .left { width: 200px; } header { } header div { border: 1px solid black; } .logo { height: 100px; } .navi { width: 180px; height: 400px; } .right { width: 800px; } .slide { border: 1px solid black; position: relative; } .slide > div { height: 350px; } .slide > div a { position: absolute; top: 0; left: 0; opacity: 0; visibility: hidden; transition: 0.5s; } .slide > div a.active { opacity: 1; visibility: visible; } .contents { overflow: hidden; } .contents > div { height: 200px; float: left; border: 1px solid black; box-sizing: border-box; } .notice { width: 300px; } .gallery { width: 300px; } .shortcut { width: 200px; } footer { overflow: hidden; } footer > div { height: 100px; border: 1px solid black; float: left; box-sizing: border-box; } .copyright { width: 600px; } .site { width: 200px; } .sns { height: 50px; } .familysite { height: 50px; }
- 1
- 4
- 575
Q&A
ํ์ด๋์ธ/ํ์ด๋์์ ์ฌ๋ผ์ด๋๊ฐ ๋์ํ์ง ์์์.
๋ถ์ฌ ๊ฐ์์ฐ๊ฝ์ถ์ (์ฌ์ง) (์ฌ์ง) (์ฌ์ง) (์ฌ์ง)
- 1
- 4
- 575
Q&A
๊ฐค๋ฌ๋ฆฌ btn ๋ถ๋ถ ๊ฐ์ด๋ฐ ์ ๋ ฌ๋๋ ์ด์
@charset "utf-8"; .container { } a { text-decoration: none; color: #000000; } .header-inner { background-color: lightgray; } header { width: 1200px; height: 100px; margin: auto; position:relative; z-index: 1; } header div { height: 100px; } .logo { width: 200px; float: left; line-height: 120px; text-align: center; } .logo img { width: 190px; } .navi { width: 600px; float: right; margin-right: 20px; } .menu { list-style: none; padding: 0; margin-top: 67px; } .menu li { text-align: center; float:left; width: 150px; box-sizing: border-box; } .menu li > a { padding: 5px; display: block; border: 1px solid black; transition: 0.5s; } .menu li:hover > a { background-color: #000000; color: #ffffff; } .submenu { height: 130px; display: none; } .submenu a { display: block; padding: 5px; color: #ffffff; transition: 0.5s; } .submenu a:hover { background-color: #ffffff; color: #000000; } .subbg { width: 1200px; background-color: #000000; position: absolute; top: 100%; left: 0; height: 140px; z-index: -1; display: none; } .contents-inner { } .slide { width: 1200px; margin: auto; position: relative; overflow: hidden; margin-bottom: 5px; } .slide div { height: 300px; } .slide div a { position: absolute; top: 0; left: 0; transform: translateX(300px); opacity: 0; transition: 0.5s; } .slide div a.active { transform: translateX(0); opacity: 1; } .slide div img { width: 1200px; height: 300px; } .contents { width: 1200px; margin: auto; overflow: hidden; } .contents > div { height: 200px; float: left; box-sizing: border-box; } .notice { width: 400px; } .btn span { display: inline-block; border: 1px solid black; width: 100px; padding: 5px; text-align: center; border-radius: 5px 5px 0 0; background-color: #ffffff; border-bottom: none; margin-bottom: -1px; } .tab1, .tab2 { width: 95%; border: 1px solid black; height: 157px; } .tab2 { margin: 0 auto; } .tab1 > a { display: block; padding: 2px; padding-top: 3px; border-bottom: 1px solid black; width: 95%; text-align: center; } .tab1 > a:hover { color: blue; } .tab1 >a:last-child { border-bottom: none; } .tab1 > a b { display: inline-block; width: 70%; font-weight: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tab1 > a span { float: right; } .gallery { width: 400px; text-align: center; } .gallery img { width: 110px; padding-top: 15px; } .gallery img:hover { opacity: 0.5; } .banner { width: 400px; text-align: right; } .banner img { height: 192px; } .footer-inner { background-color: lightgray; } footer { width: 1200px; margin: auto; overflow: hidden; } footer > div { height: 100px; float: left; box-sizing: border-box; } .footer-info { width: 1000px; } .footer-info > div { height: 50px; text-align: center; } .footer-menu { line-height: 50px; } .footer-menu a { text-decoration: underline; } .footer-menu a:hover { color: blue; } .copyright { line-height: 40px; } .family-site { width: 200px; height: 100px; text-align: center; line-height: 90px; } .family-site select { width: 160px; height: 30px; }
- 1
- 3
- 460
Q&A
๊ฐค๋ฌ๋ฆฌ btn ๋ถ๋ถ ๊ฐ์ด๋ฐ ์ ๋ ฌ๋๋ ์ด์
์ฐ์ ๋ํ๊ต (์ฌ์ง) Menu-1 Sub-1 Sub-2 Sub-3 Sub-4 Menu-2 Sub-1 Sub-2 Sub-3 Sub-4 Menu-3 Sub-1 Sub-2 Sub-3 Menu-3 Sub-1 Sub-2 Sub-3 (์ฌ์ง) (์ฌ์ง) (์ฌ์ง) ๊ณต์ง์ฌํญ ๋ง์ถค ํ๋์ ์ ์ํ๋ ์จ๋ฉ ํฌ๋ฆฌ์์ดํฐ๋ธ ๊ทธ๋ฃน2017-12-12 H&S์ ํจ๊ป ํ์ค ๊ฐ์ด ๋ฐ๋ปํ ๋ถ๋ค์ ๋ชจ์ญ๋๋ค.2017-12-12 H&S์ ์์์ ์ค๋นํ์ ๋ถ๋ค๊ป ๊ฐ์ฌ๋๋ฆฝ๋๋ค.2017-12-12 ์ฝ๋ฆฌ์์จ๋ฉํ์ด ๊ฒฐํผ๋ฐ๋ํ๊ฐ ์ด๋ฆฝ๋๋ค.2017-12-12 ๋ง์ง์์ด ์๋์์ด ๋๋ฆฌ๋ ๋ง์ง๋ง ์ฐฌ์ค!2018-03-05 ๊ฐค๋ฌ๋ฆฌ (์ฌ์ง) (์ฌ์ง) (์ฌ์ง) (์ฌ์ง) ํ๋จ๋ฉ๋ด1 ํ๋จ๋ฉ๋ด2 ํ๋จ๋ฉ๋ด3 COPYRIGHTโ by WEBDESIGN. ALL RIGHTS RESERVED ํจ๋ฐ๋ฆฌ์ฌ์ดํธ1 ํจ๋ฐ๋ฆฌ์ฌ์ดํธ2 ํจ๋ฐ๋ฆฌ์ฌ์ดํธ3
- 1
- 3
- 460
Q&A
๊ณต์ง์ฌํญ ํ ์คํธ ๋์นจ & items์์ญ ๋ฐ๋ก๊ฐ๊ธฐ ์ค๋ฐ๋
@charset "utf-8"; /* ๊ธฐ๋ณธ ์์ */ body { margin: 0; padding: 0; background-color: #ffffff; color: #333333 } a { color: #333333; text-decoration: none; } .container { /* border: 1px solid black;*/ width: 1000px; } .container > div { float: left; box-sizing: border-box; } .left { width: 200px; } .right { width: 800px; } /* header */ header { } header > div { } .logo { height: 100px; line-height: 130px; } .navi { } .menu { list-style: none; padding: 0; width: 90%; margin: auto; position: relative; } .menu li { text-align: center; } .menu li > a { border: 1px solid black; display: block; padding: 5px; } .menu li > a { border: 1px solid black; display: block; padding: 5px; } .menu li:hover > a { background-color: #000000; color: #ffffff; } .submenu { border: 1px solid black; display: none; position: absolute; background-color: #000000; width: 100%; top: -25px; left: 100%; height: 200px; z-index: 1; } .submenu > a { display: block; padding: 5px; color: #ffffff; } .submenu > a:hover { background-color: #ffffff; color: #000000; } /* slide */ .slide { position: relative; width: 1200px; height: 350px; margin-bottom: 5px; } .slide > div { } .slide > div a { position: absolute; top: 0; left: 0; opacity: 0; visibility: hidden; transition: 1s; } .slide > div a.active { opacity: 1; visibility: visible; } /* contents */ .contents { overflow: hidden; } .contents > div { height: 200px; float: left; box-sizing: border-box; } .notice { width: 300px; } .btn span { border: 1px solid black; padding: 5px; display: inline-block; width: 100px; text-align: center; border-radius: 5px 5px 0 0; border-bottom: none; } .notice a { display: block; overflow: hidden; } .notice a b { width: 70%; white-space: nowrap; overflow:hidden; text-overflow: ellipsis; font-weight: normal; } .notice a span { float: right; } .tab-inner { width: 97%; } .gallery { width: 300px; } .gallery img { width: 85px; padding-top: 35px; } .gallery img:hover { opacity: 0.7; } .tab1, .tab2 { border: 1px solid black; height: 155px; box-sizing: border-box; } .tab1 { padding-top: 10px; } .tab1 a { border-bottom: 1px solid #000; padding: 5px; } .tab1 a:last-child { border-bottom: none; } .tab2 { text-align: center; } .btn { /* padding: 5px;*/ } .shortcut { width: 200px; } .shortcut img { } /* footer */ footer { overflow: hidden; } footer > div { height: 100px; float: left; box-sizing: border-box; text-align: center; } .copyright { width: 600px; line-height: 100px; } .site { width: 200px; } .sns { height: 50px; } .sns img { width: 45px; margin: 5px; } .familysite { height: 50px; line-height: 40px; } .familysite select { width: 180px; height: 30px; }
- 1
- 3
- 403
Q&A
๊ณต์ง์ฌํญ ํ ์คํธ ๋์นจ & items์์ญ ๋ฐ๋ก๊ฐ๊ธฐ ์ค๋ฐ๋
๋ถ์ฌ ๊ฐ์์ฐ๊ฝ์ถ์ (์ฌ์ง) ์ถ์ ์๊ฐ ์ด๋์ ๊ธ ์ถ์ ๊ฐ์ ์ถ์ ์ฐํ ์ค์๋๊ธธ ํ์ฌ์๋ด ์ ํ๋ฒ์ค์๋ด ํ์ฌ์๋ด ํ์ฌ์ผ์ ์๊ณต์ฐ์ฅ ํ๋ณด๋ง๋น ์ถ์ ์์ ๋ณด๋์๋ฃ ์์๋ ์ํผ ์ฐธ์ฌ๋ง๋น ์ฐธ๊ฐํ๊ธฐ ์ฐ๊ฝ๊ฐค๋ฌ๋ฆฌ ํฌํ ๊ฐค๋ฌ๋ฆฌ (์ฌ์ง) (์ฌ์ง) (์ฌ์ง) ๊ณต์ง์ฌํญ ์ฐ๊ฝ๊ณผ ์์ ์ด์ผ๊ธฐ2020.03.14 ์ฐ๊ฝ๋ง์์ถ์ ์์ ์ฆ๊ธฐ๋ ํ๊ฒฝ2020.03.14 ์ฐ๊ฝ์ผ๋ก ์ฅ์ํ ๋ง๋ค๊ธฐ2020.03.14 ๊ฑด๊ฐ์ ์ข์ ์์2020.03.14 ๊ฐค๋ฌ๋ฆฌ (์ฌ์ง) (์ฌ์ง) (์ฌ์ง) (์ฌ์ง) COPYRIGHTโ by WEBDESIGN. ALL RIGHTS RESERVED (์ฌ์ง) (์ฌ์ง) (์ฌ์ง) ํจ๋ฐ๋ฆฌ์ฌ์ดํธ1 ํจ๋ฐ๋ฆฌ์ฌ์ดํธ2 ํจ๋ฐ๋ฆฌ์ฌ์ดํธ3
- 1
- 3
- 403
Q&A
์ฌ์ง์ฒ๋ผ ๋๋ ์ด์
@charset "UTF-8" body { margin: 0; padding: 0; background-color: #ffffff; color: #222328; } a { color: #222328; text-decoration: none; } .container { } .header-inner { background-color: lightblue; } header { width: 1200px; margin: auto; height: 100px; position: relative; z-index: 1; } header div { /* border: 1px solid black;*/ height: 100px; } .logo { width: 200px; float: left; text-align: center; line-height: 120px; } .logo img { width: 180px; } .navi { width: 600px; float: right; } .menu { list-style: none; width: 600px; padding-top: 50px; } .menu li { float: left; width: 150px; box-sizing: border-box; text-align: center; } .menu li > a { border: 1px solid black; padding: 5px; display: block; } .submenu { border: 1px solid black; background-color: #ffffff; } .submenu a { padding: 5px; background-color: #ffffff; display: block; } /* .subbg { background-color: #000000; width: 1200px; height: 200px; position: absolute; top: 100%; left: 0; } */ .contents-inner { } .slide { width: 1200px; margin: auto; position: relative; /* height: 300px;*/ overflow: hidden; } .slide > div { height: 300px; } .slide > div a { position: absolute; top: 0; left: 0; transform: translateX(400px); opacity: 0; transition: 0.5s } .slide > div a.active { opacity: 1; transform: translateX(0); } .slide img { width: 1200px; height: 300px; } .contents { width: 1200px; margin: auto; overflow: hidden; margin-top: 10px; } .contents > div { height: 200px; float: left; box-sizing: border-box; } .notice { width: 400px; } .btn span { border: 1px solid black; display: inline-block; width: 100px; text-align: center; padding: 5px; border-radius: 5px 5px 0 0; border-bottom: none; background-color: white; margin-bottom: -1px; } .tab1 { border: 1px solid black; height: 170px; box-sizing: border-box; } .tab1 a { display: block; padding: 5px; border-bottom: 1px solid black; margin: 5px; } .tab1 a:first-child { margin-top: 10px; } .tab1 a:last-child { border-bottom: none; } .tab1 a span { float: right; } .tab2 { width: 400px; height: 170px; text-align: center; border: 1px solid black; box-sizing: border-box; } .tab2 img { width: 120px; padding-top: 15px; } .banner { width: 400px; } .footer-inner { background-color: lightblue; } footer { width: 1200px; margin: auto; overflow: hidden; } footer > div { border: 1px solid black; height: 100px; float: left; box-sizing: border-box; } .footer-div { width: 1000px; } .footer-div div { height: 50px; border: 1px solid black; } .footer-menu { } .copyright { } .familysite { width: 200px; }
- 1
- 3
- 284
Q&A
์ฌ์ง์ฒ๋ผ ๋๋ ์ด์
์ฐ์ ๋ํ๊ต (์ฌ์ง) ๋ํ์๊ฐ ์ด์ฅ์ธ์ฌ๋ง ํ๊ต์๊ฐ ํ๋ณด๊ด ์บ ํผ์ค์๋ด ์ ํ์๋ด ์์๋ชจ์ง ์ ์๋ชจ์ง ํธ์ ํ ์ฌ์ธ๊ตญ๋ฏผ ์ ๋ณด์๋น์ค ๋ํ์ ๋ณด์๋ฆผ ์ ๋ณด๊ณต๊ฐ ์ ๋ณด์๋น์ค์๋ด ์ปค๋ฎค๋ํฐ ๊ณต์ง์ฌํญ ์ฐธ์ฌ๊ฒ์ํ ์๋ฃ์ค (์ฌ์ง) (์ฌ์ง) (์ฌ์ง) ๊ณต์ง์ฌํญ ๋จ์จ๊ฑด์ค, ์๊ณตํ๊ฐ ์์ ์์ 5์ ๋ฌ์ฑ2020.06.18 ๊ฑด์ค์ ๋ ๊ธฐ๋ ํ์ฌ๋ฅผ ์๋ดํด๋๋ฆฝ๋๋ค2020.06.18 ๋ํ์ ๋์ ๊ฑด์คํ์ฅ ํ๋ฐฉ๊ธฐ2020.06.18 ์๋ฐ๊ธฐ ์ ์ /๊ฒฝ๋ ฅ ์ฌ์ ์ฑ์ฉ ๊ณต๊ณ 2020.06.18 ๊ฐค๋ฌ๋ฆฌ (์ฌ์ง) (์ฌ์ง) (์ฌ์ง) (์ฌ์ง)
- 1
- 3
- 284
Q&A
์ฌ๋ผ์ด๋ jquery ์ค๋ฅ
$(function(){ var num = 0; $('.slide > div a').eq(num).addClass('active'); setInterval(function(){ if(num div a').removeClass('active'); $('.slide > div a').eq(num).addClass('active'); }, 3000); });
- 1
- 5
- 556