html, css
css ์ฒดํฌ๋ฐ์ค ํ ๊ธ๋ฒํผ ์์ ์ฌ์ดํธ
https://getcssscan.com/css-checkboxes-examples CSS Scan - The fastest and easiest way to check and copy CSS Goodbye to "Inspect Element" — Visualize the CSS of any element you hover over, instantly, and copy its entire rules with a single click. getcssscan.com ์ฒดํฌ๋ฐ์ค์ ๋๋ถ์ด ํ ๊ธ ๋ฒํผ ๋๋ ์ค์์น ๋ฒํผ ์์ ๋ ์์
css ํ ์คํธ ์ปฌ๋ฌ ๋ฐ์ ํจ๊ณผ
โ ์ฐธ๊ณ ํ ์คํธ์ ๋ฐฐ๊ฒฝ ์์์ ๊ฒน์น๋ ๋ถ๋ถ์ด ๋ฐ์ ๋๋ ํจ๊ณผ๊ฐ ์์ด ์ฐพ์๋ณด์๋ค. ์น ํ์ด์ง์ ์ ์ฉํ๋ฉด ์ธ๋ จ๋ ๋๋์ ์ฃผ๊ธฐ๋ ํ๋๋ผ๊ตฌ์ฌ ๐ css mix-blend-mode: difference; ๊ฐ๋จํ๊ฒ css๋ก ๋ณด์ฌ์ง ์ ์์๋ค. css ์์ฑ์ค mix-blend-mode ๋ฅผ ์ด์ฉํ ํจ๊ณผ ํฌํ ์ต์์ ๋ ์ด์ด๋ฅผ ์ด์ฉํด ์์๋ค์ ํจ๊ณผ๋ฅผ ์ฃผ๋ ๊ฑฐ๋ ์ญํ ๊ณผ ๋น์ทํ๊ฒ ์๊ฐํ๋ฉด ๋๋ค. ๐ ์ฐธ๊ณ ์ด์ธ ๋ค๋ฅธ ์ฌ๋ฌ ์์ฑ์คํ์ผ๋ ์์ผ๋ ์ฐธ๊ณ https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode mix-blend-mode - CSS: Cascading Style Sheets | MDN The mix-blend-mode CSS property sets how an el..
a ๋งํฌ "#" , void(0) ์๋ฏธ
์ผ๋ฐ์ ์ผ๋ก ์๊ณ ์๋ aํ๊ทธ๋ ๋งํฌ๋ฅผ ์ด๋์์ผ์ฃผ๋ ์ต์ปคํ๊ทธ ํ์ด์ง ์ด๋ ๋ค์ด๋ฒ๋ก ์ด๋ ํน์ url ๊ฐ์ผ๋ก ํด๋น ํ์ด์ง๊ฐ ์ด๋ํ๋ค. ์คํฌ๋กค ์ด๋ box ์์ด๋ box๋ก ๊ฐ๊ธฐ ๋ค๋ฅธ ํ๊ทธ์ ์์ฑ๋ ์์ด๋ ๊ฐ์ ์ถ๊ฐํ์ฌ ํน์ ์์น๋ก ์คํฌ๋กค์ ์ด๋์ํฌ ์ ์๋ค. ํ์ด์ง ์ ํ์ด ์๋ ํ์ฌ ํ์ด์ง์์์ ์์น ์ด๋์ด๋ค. "#" aํ๊ทธ์ #๋ง ์์ ๊ฒฝ์ฐ ๋ธ๋ผ์ฐ์ ๊ฐ ํ์ด์ง์ ๋งจ ์๋ก ์ด๋ํ๋ค. ๊ทธ๋ ๋ค๊ณ href=""๋ฅผ ๋น์๋ ์ ์๋ค. ์ ํจ์ฑ ์ค๋ฅ ๋ฌธ์ ๊ฐ ์๊ธฐ ๋๋ฌธ์ด๋ค. javascript:void(0) ํด๋ฆญ void(0) ์ ์๋ฐ์คํฌ๋ฆฝํธ ํจ์์ด๋ค. javscript: ๋ค๋ ์ค๋ ๊ฒ์ ์๋ฐ์คํฌ๋ฆฝํธ์ ์ฝ๋๋ก ํด์ํ๋ค. void ์์๋ ์๋ฌธ, ์ซ์๋ ์ฌ์ฉ์ด ๊ฐ๋ฅํ์ง๋ง ์ผ๋ฐ์ ์ผ๋ก 0 ์ ์ฌ์ฉํ๋ค a ํ๊ทธ์ ์ด๋๊ธฐ๋ฅ์ ๋ฌด๋ ฅํ ์..
[css] video ํ๊ทธ ์ฌ์ฉ ์ ํ ๋๋ฆฌ ๊ฒ์ ์ ์จ๊ธฐ๊ธฐ
video { outline: none; border: 0; } ๋น๋์ค ํ ๋๋ฆฌ๋ฅผ ์ ๊ฑฐ ํ๋ ๋ฐฉ๋ฒ์ผ๋ก ๋น๋์ค ํ๊ทธ ์์ฒด์ ์ ํ์์ญ์ ์์ ๋ฒ๋ฆฌ๊ธฐ๊ฐ ์์ง๋ง ์ ๋ฐฉ๋ฒ์ด ์ ์ฉ ์๋๋ ๊ฒฝ์ฐ๋ ์๋ค. video { -webkit-mask-image: -webkit-radial-gradient(white, black); -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; } ์ถ๊ฐ๋ก ์ ์ฉํ์ฌ ํด๊ฒฐํ์๋ค. https://stackoverflow.com/questions/52508598/html5-video-element-on-iphone-has-border/53779216
[CSS] ๊ตญ๊ฐ๋ณ ์น ๊ธฐ๋ณธ ๊ธ๊ผด (ํ/์/์ผ/์ค)
์ด๋ฉ์ผ html ์์ ์ ํ๋ ์ค์ ๋๋ผ๋ณ ๊ธฐ๋ณธ ์นํฐํธ ์ ์ฉ ๊ธ๊ผด์ ๋ํด ์์๋ณด์๋ค. ๋ง์นจ ๋ฑ ํ์ํ ๋ด์ฉ์ ์ ์ ๋ฆฌ๋ ๋ธ๋ก๊ทธ ๋ถ๊ป์ ์ฌ๋ ค์ฃผ์ ์ ๊ฐ์ฌํ๊ฒ๋ ์ฎ๊ฒจ ๊ธฐ๋กํด๋ณด์์ ํ๊ตญ์ด /* MAC */ body{font-family:'apple sd gothic neo', sans-serif} /* window */ body{font-family:'Malgun Gothic', sans-serif} /** * APPLE SD Gothic Neo๋ MAC OS X ๋ฐ iOS์ ๊ธฐ๋ณธ ๊ตญ๋ฌธ ํฐํธ์ด๋ค * Malgun Gothic์ window ๊ธฐ๋ณธ ๊ตญ๋ฌธ ํฐํธ์ด๋ค * sans-serif๋ ๊ณ ๋์ฒด๋ฅผ ๋ํ๋ธ๋ค. */ ์์ด /* MAC */ body{font-family:'apple sd gothic neo', sans-se..
์ธ์ฆ๋ฒํธ ์ ๋ ฅ input ์์ฑ '๋ฉ์ธ์ง์์ ๊ฐ์ ธ์ด' ์์๋ณด๊ธฐ
๋ฉ์ธ์ง ์ฑ์์ ์๋์ผ๋ก ๋ฐ์์จ ์ธ์ฆ๋ฒํธ๋ฅผ ๊ฐ์ ธ์ ํค๋ณด๋ ์์ชฝ์ ๋จ๋ ๋ถ๋ถ ์์ญ์ ์ฌ์ฉํ ๋ input ์ autocomplete ์์ฑ ์ค one-time-code๋ฅผ ์ฌ์ฉํ๋ฉด ๋๋ค ๋๋ ์ด๋ฐ๊ฒ ์๋ ์ค๋ ๋ชฐ๋๋ค.. ํ์ฌ์์ ํ๋ก์ ํธ๋ฅผ ์งํํ๋ค ์๊ฒ ๋ ์ฌ์ค.. ์ ๋ง ๋ชฐ๋๋ ์์ฑ์ด๋ผ ๋จ๊ฒจ๋๋ค ์ฐธ๊ณ https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete https://daily-dev-tips.com/posts/html-autocomplete-sms-code/
[CSS] Pure-css-custom-input radio
https://moderncss.dev/pure-css-custom-styled-radio-buttons/ Pure CSS Custom Styled Radio Buttons | Modern CSS Solutions Learn to create custom, cross-browser, theme-able, scalable radio buttons in pure CSS and ensuring styles remain accessible across states. moderncss.dev ์ค์ง css๋ง์ ์ด์ฉํด์ inpu radio ์ปค์คํ ํด๋ด ๋๋ค. example https://www.sliderrevolution.com/resources/styling-radio-buttons/ Styling Radio Bu..
pure CSS scrolling shadows
https://codepen.io/mrowa44/pen/xRpMYm/?html-preprocessor=none Pure CSS horizontal scrolling shadows ... codepen.io https://codepen.io/evank/pen/wWbRNO Pure CSS scrolling shadows ... codepen.io https://javascript.plainenglish.io/how-to-create-horizontal-vertical-scroll-shadows-26aa7a7f00a0 How To Create Horizontal + Vertical Scroll Shadows In Pure CSS or with CSS + JavaScript javascript.plainengl..