Skip to content

Instantly share code, notes, and snippets.

View w-log's full-sized avatar
🎯
Focusing

Tae-woong Kim w-log

🎯
Focusing
  • South Korea, Seoul
View GitHub Profile
@w-log
w-log / cube.html
Created June 3, 2018 10:05
코드스피츠 4강 과제
<div class="cube">
<div class="front"></div>
<div class="back"></div>
<div class="right"></div>
<div class="left"></div>
<div class="top"></div>
<div class="bottom"></div>
</div>
@w-log
w-log / shield.html
Created May 11, 2018 14:01
코드스피츠 2강 과제
<div class="background">
<div class="shield">
</div>
</div>
@w-log
w-log / get-parameter.js
Created March 29, 2018 09:03
자주사용하는 유틸함수들
function getUrlParameterMap() {
var queryString = location.search.replace(/^[?]/, '');
var params = '{' + queryString.split('&').map(function (val) {
var valArr = val.split('=');
return '\"' + valArr[0] + '\" : \"' + (valArr[1] || '') + '\"';
}).join(',') + '}';
var paramJSONFormat;
try {
paramJSONFormat = JSON.parse(params);
}catch(e) {
@w-log
w-log / modal.css
Last active March 28, 2018 12:22
모달창 예제
.modal {
background: #000;
width: 500px;
height: 100px;
transform: scale(0.7) ;
left: 0;
top: 0;
opacity: 0;
visibility: hidden;
position: fixed;
@w-log
w-log / drag.css
Created March 25, 2018 12:20
마우스로 드래그해서 스크롤링하기 예제
body {
margin: 0;
}
.scroll-container {
width:500px;
height:500px;
overflow:hidden;
}