'2016/06'에 해당되는 글 4건

  1. 2016.06.24 w3c 한글번역
  2. 2016.06.08 css calc 함수
  3. 2016.06.08 윈도우10 엣지브라우저 전화번호 형태 링크없앰
  4. 2016.06.02 on/off 버튼

w3c 한글번역

카테고리 없음 2016. 6. 24. 16:16

W3C 한글 번역문

 

http://trio.co.kr/webrefer/xml/xmlidx.html

 

 

 

 

html5

http://html5.clearboth.org/spec

 

 

 

:

css calc 함수

CSS 2016. 6. 8. 16:48

http://techbug.tistory.com/215

 

http://cafe.naver.com/hacosa/94427

 

 

div
{
    width: calc( 100% - 2.5em );
    background-position: calc( 50% + 50px );
    margin: calc( 1.25rem - 5px );
}

'CSS' 카테고리의 다른 글

css 무료 벡터 아이콘  (0) 2015.07.22
ie9 이하 버전의 제한  (0) 2014.02.26
One-Time Expression 한번만 실행시키자.  (0) 2012.07.27
대체 텍스트기법  (0) 2012.06.27
하단 풋터고정  (0) 2012.06.07
:

윈도우10 엣지브라우저 전화번호 형태 링크없앰

크로스브라우징 2016. 6. 8. 10:46

이번 프로젝트에서 윈10 엣지에서 발생한 전화번호 형태의 링크속성 없애는 법.

메타태그는 삽입 했는데 적용되는지는 확인하지 못함.

 

 

 

<meta name="format-detection" content="telephone=no"/>

 

:

on/off 버튼

HTML 2016. 6. 2. 15:23

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <title></title>
 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 <style>
  * {box-sizing:border-box}
  .cmn-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
  }
  .cmn-toggle + label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    user-select: none;   
  }

  
  
  input.cmn-toggle-round-flat + label {
    padding: 2px;
    width: 52px;
    height: 21px;
    background-color:#b3b3b3;
    border-radius:13px;
    transition: background 0.4s;
  }
  
  
  input.cmn-toggle-round-flat + label:after {
    display: block;
    position: absolute; 
    content: "";
  }
  input.cmn-toggle-round-flat + label:after {
    top: 2px;
    left: 2px;
    bottom: 4px;
    width: 17px;
    height:17px;
    background-color: #fff;
    border-radius:50%;
    transition: margin 0.4s, background 0.4s;
   
  }
  /*
  input.cmn-toggle-round-flat + label:before {
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    background-color:#b3b3b3;
    border-radius:50%;
    transition: background 0.4s;  
  }
  
  */
  input.cmn-toggle-round-flat:checked + label {
    background-color: #f52969;   
  }
  input.cmn-toggle-round-flat:checked + label:after {
    margin-left: 32px;
    background-color: #fff;
  }

  input.cmn-toggle + label span:after {font-size:13px; font-weight:500; color:#fff}

  input.cmn-toggle + label span:after {display:block; content:"OFF"; position:absolute; top:1px; right:7px }
  input.cmn-toggle:checked + label span:after {display:block; content:"ON"; position:absolute; top:1px; left:10px}
   
 </style>
</head>
<body>
 

 <div class="switch">
   <input id="toggle" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
   <label for="toggle"><span></span></label>
 </div>

 
</body>
</html>

 

: