π₯ TIL (16) μΈλ€μΌν 리μ€νΈν 2021.04.16 // fullpageScroll.js plugIn fullpageScroll.js 2021.04.07 λ§μ€μμ μ€μ ν λ display: -webkit-boxμ λν΄ κΆκΈνλ€. μ΄ μμ±μ λΈλ‘μ floatλμ μ¬μ©ν μ μμΌλ©° λΈλ‘μ μμ§, μνμΌλ‘ λ°°μΉνκ±°λ μμμΌλ‘ λ°°μ΄νκ±°λ μμμ μμλ‘ λ°°μΉν μ μλ€. λ§μ€μν μ€λ₯Έμͺ½, μΌμͺ½μ μμ΄μ½μ λ£λλ€κ³ κ°μ νλ©΄ padding-left, padding-rightλ₯Ό λΊ λλ¨Έμ§ λλΉμ λ§μ€μν μ€νΈκ° λ°°μΉλλ€. 쑰건. λ§μ€μνκ° νμ€λ‘ νμνλ©° μμͺ½ μ¬μ΄λμ μμ΄μ½μ΄ μλ€. μ΄ λ μμ΄μ½ λκ°λ absoluteλ float μΌλ‘ μ²λ¦¬νλ€. λ§μ€μμ μ μ¬μ΄λμ padding κ°μ μ€λ€. display: -webkit-boxλ₯Ό μ¬μ©νμ¬ paddingμ ν¬ν¨νμ§ μλ λμ΄λ₯Ό μ€λ€. white-space: nowrapμ ν μ€λ‘ νμλλ©° λ§μ€μ(...)μ΄ μμ±λμ§ .. 2021.04.07 // width calc() μ£ΌκΈ° 보νΈλμ΄ μλ κΈμ λλ€. 2021.04.05 dummyimage.com/ Dynamic Dummy Image Generator - DummyImage.com Dynamic Dummy Image Generator by Russell Heimlich (@kingkool68) Documentation Size width x height Colors background color / text color Colors are represented as hex codes (#ffffff is white) Colors always follow the dimensions, https://dummyimage.com/250/ff dummyimage.com μ΄λ―Έμ§ μμλ‘ λ£λ μ¬μ΄νΈ 2021.03.22 ishadeed.com/article/min-max-css/ Min and Max Width/Height in CSS - Ahmad Shadeed Learn how min-width, max-width, min-height, and max-height work in CSS ishadeed.com μ 리νκΈ° [CSS] μμ± μ νμ μ 리 [CSS] νμ μ νμ / μμ±μ νμ νμ μ νμ κ°μ λΆλͺ¨λ₯Ό κ°μ§λ μμ. 1. μΈμ νμ μ νμ μ νμ μ¬μ΄λ₯Ό +λ₯Ό μ¬μ©νμ¬ λνλΈλ€. μ μμ λ°λ‘ λ· μμλ§ μ ν. h1 + ul { color: red; } 2. μΌλ° νμ μ νμ μ νμ μ¬μ΄λ₯Ό ~λ₯Ό μ¬μ©νμ¬ λνλΈλ€. μ μμ λ€μ μλ λͺ¨λ λ· μμ μ ν. h1 ~ ul { color: red; } μμ± μ νμ κ° νκ·Έκ° κ°μ§κ³ μλ μμ±μ μ κ·Όνλ λ°©μ. μ μ ν idμ class μ΄λ¦μ΄ μμ κ²½μ° μ μ©νλ€. μμ± μ νμ(attribute selector)λ HTMLμ μμ±λͺ κ³Ό μμ±κ°μ μ νμλ‘ μ§μ ν μ μλ€. // p νκ·Έ(tag) // style μμ±λͺ (attribute) // color: red μμ±κ°(value) 1. [attribut.. [CSS] νμ μμλ‘ κ°―μ μμλ΄κΈ° 2021.03.18 μμλ₯Ό νΌμΌνΈλ‘νμ¬ μ μνμ΄λ λ°μνμμλ μμ λ‘κ² μΈ μ μλ ν νλ¦Ώμ΄λ€. μ΄ν΄λ₯Ό νμ€ν νκ³ μ λ€μ μ 리νκ² λμλ€. λ³Έ κΈ°λ²μ λ€μνκ² μμ©ν μ μλ€. μλ³Έ λ¬Έμμμλ li μμ κ°―μμ λ°λΌ λΈλ‘ μμ λ°°κ²½μμ λ€μνκ² λ§€κΈ°λ κ²μ μμλ‘ λ€μλ€. flexboxλ₯Ό μ¬μ©ν μ μλ νκ²½μ΄λΌ κ°μ νλ€. λ€μ μ½λμμλ float: left λ₯Ό μ¬μ©νμ¬ li μμλ€μ λμ΄ μνμ΄λ€. li { float: left; } /* liκ° νλμΌ λ */ li:first-child:nth-last-child(1) { width: 100%; } /* liκ° λκ°μΌ λ */ li:first-child:nth-last-child(2), li:first-child:nth-last-child(2) ~.. [HTML] label νκ·Έ / [jQuery] childern() , find() label νκ·Έ νκ·Έ μμλ , νκ·Έκ° λ€μ΄κ°λ©΄ μλλ€. children() / find() .children() λ©μλ div(ν μλ²μ§) ul(λΆλͺ¨) li(μμ) span(μμ1) span(μμ2) .find() λ©μλ div(ν μλ²μ§) ul(λΆλͺ¨) li(μμ) span(μμ1) span(μμ2) .container * { display: block; border: 1px solid lightgrey; color: lightgrey; padding: 5px; margin: 15px; } $(function() { // 1. children() $('ul.child').childern('*').css({border: '2px solid red'}); // 2. find() $('ul.find').find.. μ΄μ 1 2 λ€μ