๋ชฉ๋ก2022/03 (46)
whatisthis?
(3) Service Section ๐ HTML + CSS ์์ฑ - html ๋งํฌ์ ๊ตฌ์ฑ ์ด๋ฒ์๋ desktop์์ (>=768px) col-6์ด ๋๊ฐ๊ฐ ๋๋ฏ๋ก col-12 ๋๊ฐ๋ฅผ ๋ง๋ค์ด์ผํ๋ค. [๊ตฌ์กฐ] container > row > col-12 * 2 ์ฌ๊ธฐ์, col-12 ๋ ๋๋ค col-md-6์ด๋ผ๋ ์์ฑ์ ๊ฐ์ ธ์ผ ํ๋ค. ๐ป bootStrap Breakpoint๋ฅผ ๋ณด๋ฉด md = medium = 768์ด์. Master the Fundamentals while Exploring new Tech We teach cutting-edge tech Full Stack Javascript as well as Computer Science fundamentals. Develop Production Level W..
(2) landing page ๐ HTML + CSS ์์ฑ - ๋ด๊ฐ ์ง์ ์ฝ๋ฉํด๋ณธ ๊ฒ ๐ป index.html Change your carrer, Change your life Get ahead with expert-led training in frontend development Apply now Learn more style.css /* Landing Page */ .landing { width: 100%; height: 100vh; display: flex; flex-direction: column; justify-content: center; text-align: center; background-color: #fdded8; } .landing-title { color: #2b292d; font-s..
(1) ํ๊ฒฝ setting - ํฐ๋ฏธ๋ ๋ช ๋ น์ด touch index.html style.css// ํ์ผ ์์ฑ mkdir assets// ๋๋ ํฐ๋ฆฌ ์์ฑ - font ๊ฐ์ ธ์ค๊ธฐ (import) - ๊ธฐ๋ณธ css ์ ์ฉ (box-sizing์ด๋ font-family ๋ฑ) * { box-sizing: border-box; margin: 0; } body { font-family: "DM Sans", sans-serif; } - ๋ถํธ์คํธ๋ฉ์ grid ์์คํ ๊ฐ์ ธ์ค๊ธฐ ์ง๋๋ฒ์ฒ๋ผ ์๋ ์ฝ๋๋ฅผ ๋ถ์ฌ๋ฃ์ด๋ ๋จ. ํ์ง๋ง ์ฐ๋ฆฌ๋ grid๋ง ์ธ๊ฑฐ๋๊น ์๋ css ํ์ผ์ ์ฐ์! ์ ์ฒด css๋ฅผ ๋ณต์ฌํด์ ์ ํ์ผ ์์ฑํ ํ ๋ถ์ฌ๋ฃ์. grid.min.css .sr-only{position:absolute;width:1px;height:1..
BootStrap (๋ถํธ์คํธ๋ฉ) - ๋ฐ์ํ grid-system ๋๋ฌธ์ ์ ๋ช ! ๐ - CSS Framework. Bootstrap The most popular HTML, CSS, and JS library in the world. getbootstrap.com Quick start ๋๋ฅด๊ณ CSS ๋ผ ์ ํ ๋ถ๋ถ์ ์ฝ๋๋ฅผ copyํ๋ค. >> html ํ์ผ์ head ์ ๋ถ์ฌ๋ฃ์. โ ์ฐธ๊ณ ์ฐ๋ฆฌ๋ ์ง๊ธ grid system๋ง ์ฌ์ฉํ๋ฏ๋ก ๊ทธ๋ฅ ์ link๋ถ๋ถ๋ง ๊ฐ์ ธ์๋ ๋๊ณ , ๋ง์ฝ ์ปดํฌ๋ํธ๋ ๋ค์ํ ๊ธฐ๋ฅ๋ค์ ์ฌ์ฉํ๋ ค๋ฉด scriptํ๊ทธ๋ ๊ฐ์ ธ์์ผ ํ๋ค. ๊ทธ๋ฅ ์๋ฌด๊ฒ๋ ์ค์ ์ํด๋ bootstrap์ด ๊ธฐ๋ณธ ์ ๊ณตํ๋ reset style์ ์ํด ๊น๋ํ๊ฒ ๋์จ๋ค! grid-system ๊ธฐ๋ณธ ๊ตฌ์กฐ container ์..
Grid System - ๋์์ด๋๊ฐ ์น ๋์์ธ์ ํ ๋ ๊ทธ๋ฆฌ๋ ์์คํ ์ ์ด์ฉํด์ ๋์์ธ์ ํ๋ค. container column gutter ์ฌ๊ธฐ์ ํ๋์ ์ ์ฒด์ ํด๋นํ๋ ๊ฒ์ด container, hotpink์ ์นธ ํ๋์ ํด๋นํ๋ ๊ฒ์ด column์ด๋ค. ์ฃผ๋ก ๊ทธ๋ฆฌ๋๋ 12์นธ์ง๋ฆฌ๋ฅผ ๋ง์ด ์ฌ์ฉํ๋ค. column์ ํตํด ์์์ width๋ฅผ ์ค์ ํ๋ค. (์> 3์นธ์ง๋ฆฌ, 6์นธ์ง๋ฆฌ ๋ฑ column์ ๊ธฐ์ค์ผ๋ก ์ก์) gutter์ ์์๊ฐ์ ์ฌ๋ฐฑ์ ์ฃผ๋ ๊ฒ. = ๊ฐ๊ฒฉ์ ์ํ ์ฌ๋ฐฑ์ ์ค. ๐ก ์ด๋ฌํ grid-system์ ๋ฐ์ํ์ผ๋ก ํด์ค framework ===== Bootstrap! ref https://edu.goorm.io/learn/lecture/20583
1. ๊ธฐ๋ณต์ ์ผ๋ก, ๋์ค์ ์ค๋ ์ ์ธ์ด ๋ฎ์ด์ 2. ์ ํ์ ์ฐ์ ์์ ์ ํ์ ์ฐ์ ์์ ์์ ์ ํ์ ์ ๋ง ์ด์ฉ์ ์์๋๋ง ์ฌ์ฉํ ๊ฒ. ์์ข์๊ฑฐ์. 1 / ์ธ๋ผ์ธ ์คํ์ผ ์ ์ฉ hello > ์ด๋ ํ ์คํ์ผ๋ณด๋ค ๊ฐ์ฅ ๊ฐ๋ ฅํ ์ ์ฉ๋จ. 2/ !important ์ ์ธ - ์ธ๋ผ์ธ ์คํ์ผ๋ณด๋ค ๋ ๊ฐ๋ ฅํจ. - ๋ฌด์จ์ผ์ด ์์ด๋ ์ด๊ฑธ ์ ์ฉํ๋ผ๋ ๋ป. - ์ฌ์ฉ ์์ ํ๋๊ฒ์ด ์ข์. * { color: red !important; } ref lecture. https://edu.goorm.io/learn/lecture/20583
CSS - Selector 1 / ์์, ํด๋์ค, ID ์ ํ์ 2 / ์์, ์์, ํ์ ์ ํ์ 3 / ๊ตฌ์กฐ์ ๊ฐ์ ํด๋์ค ์ ํ์ 4 / ๋์ ๊ฐ์ ํด๋์ค ์ ํ์ 1 / ์์, ํด๋์ค, ID ์ ํ์ Type Selector - HTML ํ๊ทธ ์ด๋ฆ์ผ๋ก ์ ํ์ ์์ฑ span { color : #0066ff; font-size: 16px; font-weight: 500; } Class Selector - HTML์ class์์ฑ์ ์์ฑ๊ฐ์ ์ฌ์ฉ .stop-button { color : #0066ff; border: none; } class๋ ์ค๋ณต ์ ์ธ ๊ฐ๋ฅํ๋ฏ๋ก ๊ฐ์ ํด๋์ค์ ๋์ผํ ์คํ์ผ์ ํ๊บผ๋ฒ์ ์์ฑ ๊ฐ๋ฅํ๋ค. ๋ฐ๋๋ก, ํ ์์์ ์ฌ๋ฌ ํด๋์ค๋ฅผ ๊ฐ์ง ์๋ ์๋ค. ๋ง์ฝ, class1์ด๋ฉด์ class2๋ฉด์ ..
Visibility visible | hidden (default) display: none์ ๊ฒฝ์ฐ์๋ ์ฐจ์งํ๋ ๊ณต๊ฐ๋ง์ ์์ ์ง๋ง, visibility: hidden์ ํ๋ฉด ๊ณต๊ฐ์ ๊ทธ๋๋ก ๋จ์ง๋ง content๋ง ์๋ณด์ด๊ฒํจ. >> opacity: 0๊ณผ ์ ์ฌํ๊ฒ ๋จ. display:none ์์ญ ์ฌ๋ผ์ง ์ด๋ฒคํธ(ex.ํด๋ฆญ) ์๋ ์ํจ tab focus ์๋จ visibility:hidden ์์ญ ์์ ์ด๋ฒคํธ(ex.ํด๋ฆญ) ์๋ ์ํจ tab focus ์๋จ ๋ค์ ์๋ ์์ ํด๋ฆญ ๊ฐ๋ฅ opacity:0 >> ์กด์ฌํจ! ์ด๋ฒคํธ๊ณ ๋ญ๊ณ ๋ค ๋จ! ๋จ์ง ํฌ๋ช ํ ๋ฟ. ์์ญ ์์ ์ด๋ฒคํธ(ex.ํด๋ฆญ) ์๋ ํจ tab focus ๋จ ๋ค์ ์๋ ์์ ํด๋ฆญ ๋ถ๊ฐ๋ฅ REF > visibility - CSS: Cascading Style ..
Transform /* ํค์๋ ๊ฐ */ transform: none; /* ํจ์ ๊ฐ */ transform: matrix(1.0, 2.0, 3.0, 4.0, 5.0, 6.0); transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: perspective(17px); transform: rotate(0.5turn); transform: rotate3d(1, 2.0, 3.0, 10deg); transform: rotateX(10deg); transform: rotateY(10deg); transform: rotateZ(10deg); transform: translate(12px, 50%); transform: transl..
Overflow width * height๋ฅผ ๊ฐ๋ ์์ ์์ content๊ฐ ์์์ ์์ญ์ ๋ฒ์ด๋ฌ์ ๊ฒฝ์ฐ ์ฌ์ฉํจ. visible | auto | scroll | hidden - default : visible overflow-x, overflow-y ๋ก ๋๋ ์ ์ค์ ๊ฐ๋ฅ. scroll ์ฝํ ์ธ ๋ฅผ ์ค์ ๋ก ์๋ผ๋๋์ง ์ฌ๋ถ๋ฅผ ๋ฐ์ง์ง ์๊ณ ํญ์ ์คํฌ๋กค๋ฐ๋ฅผ ๋ ธ์ถ auto ์ฝํ ์ธ ๊ฐ ๋์น ๋๋ง ์คํฌ๋กค๋ฐ๋ฅผ ๋ ธ์ถ hidden ์ฝํ ์ธ ๋ฅผ ์์ชฝ ์ฌ๋ฐฑ ์์์ ๋ง์ถ๊ธฐ ์ํด ์๋ผ๋. ์คํฌ๋กค๋ฐ๋ฅผ ์ ๊ณตํ์ง ์๊ณ , ์คํฌ๋กคํ ๋ฐฉ๋ฒ(๋๋๊ทธ, ๋ง์ฐ์ค ํ ๋ฑ)๋ ์ง์ํ์ง ์์. p { width: 12em; height: 6em; overflow: scroll; } - width, height ์ค์ ํด์ค ํ, overflow ํด์ฃผ๊ธฐ .box { ..