아이폰 기종 pixels render at x points 아이폰 12 Pro Max 1284 X 2778 3x 428 X 926 아이폰 12 pro, 아이폰12 1170 X 2532 3x 390 X 844 아이폰 12 mini 1080 X 2340 3x 360 X 780 아이폰 XS Max, 아이폰 11pro max 1242 X 2688 3x 414 X 896 아이폰X, 아이폰 XS, 아이폰11 pro 1125 X 2436 3x 375 X 812 아이폰XR, 아이폰11 828 X 1792 2x 414 X 896 아이폰 6플러스, 6S+, 7+, 8+ 1080 X 1920 3x 360 X 640 아이폰 6, 6S, 7, 8, SE2 750 X 1334 2x 375 X 667 아이폰 SE (1세대) 640..
path & __dirname webpack.config.js path사용 const path = require("path"); module.exports = { mode: "development", entry: { main: "./src/app.js", }, output: { filename: "[name].js", path: path.resolve("./dist"), }, } __dirname사용 module.exports = { mode: "development", entry: { main: "./src/app.js", }, output: { filename: "[name].js", path: __dirname + '/dist', }, }
function print_area($id) { var _body = document.body.innerHTML; window.onbeforeprint = function () { document.body.innerHTML = document.getElementById($id).innerHTML; } window.onafterprint = function () { document.body.innerHTML = _body; } window.print(); } // 호출 print_area(프린트할 영역 ID)
1. google map - map layer
UI KIT
설치 [https://nodejs.org/en/](nodejs 설치하면(8.x) npm 자동설치) npm install yarn window : `.msi` 설치 URL : install download) nodejs update (mac 'sudo'필요) 버젼확인 node -v cache 삭제 : 캐시가 있을경우 출돌 날수있음. npm cache clean -f n 모듈 설치 npm install -g n n 모듈로 nodejs 설치하기 (latest, stable, lts, 버젼) n "버젼" 특정버젼 삭제 n rm "버젼" init (-y : option pass) npm init -y yarn init -y pnpm init 버젼 확인 npm -version | npm -v yarn -versio..
설치 설명 : http://people.apache.org/~pmuellr/weinre/docs/latest/ 0. nodejs 설치후 ( https://nodejs.org/en/ ) 1. weinre 전역설치npm -g install weinre 2. weinre 실행 - (--boundHost : 내컴퓨터 아이피 or 없으면 localhost 로열림) - (--httpPort : 원하는 포트번호 or 없으면 8080 으로 열림 )weinre --boundHost 000.000.000.000 --httpPort 0000 크롬브라우져 : 안드로이드 모바일 테스트 설명 : https://nigayo.github.io/javascript/2014/03/14/Chrome_Android_remote_debugg..
설치 설명: https://www.npmjs.com/package/live-server 0. nodejs 설치후 ( https://nodejs.org/en/ ) 1. live-server 전역 설치npm install -g live-server 2. 해당 프로젝트 root 에서 live-server 실행 - 옵션값을 입력하지 않으면 기본값으로 열림 - (--host= 내아이피 넣으면 외부접근 가능, 단 공유기등 보안 열려 있어야함 ) - ( --port= 열릴 포트 번호)live-server --host=000.000.000.000 --port=0000
# http://simbyone.com/demo/30-css-hover-effects-for-buttons/# https://tympanus.net/Development/CreativeButtons/# https://codepen.io/rauldronca/pen/mEXomp# http://ianlunn.github.io/Hover/#effects# https://codepen.io/davidicus/pen/emgQKJ# https://www.inserthtml.com/demos/css/button-styles/ # https://blog.prototypr.io/stunning-hover-effects-with-css-variables-f855e7b95330 # 메테리얼 효과 : https://bashoo..
- Total
- Today
- Yesterday