목록CSS (5)
최코딩의 개발노트
개요: 필자가 공부하면서 정리한 게시물이다. document라는 object를 통해 html 코드를 불러올 수 있다. title은 현재 승호인데 gg 하면 일시적으로 title 변경이 가능하다. 이외에도 document.body , document.head 등 을 통해 불러올 수 있다. 승호얌 id를 title 지정한 부분을 getElementById를 통해 위와 같이 불러올 수 있다. const title = document.getElementById("title"); console.log(title); js에서도 이렇게 불러올 수 있다.! console.dir(title); h1 태그에서 가져올 수 있는것들이다. 즉 dir은 요소 내부를 불러오는것이다. title.innerText="d"; 이때 js..
개요: 필자가 클론코딩을 공부하면서 정리하는 게시물이다. Transition - 어떤 상태에서 다른 상태로 가는 변화를 애니메이션화 한 것이다. - state에 따라 바뀌는 property를 갖고 있는 사용된다. - box, element를 변형시키지 않는다. - margin, padding 적용안된다. 일종의 3D transformation이기 때문이다. a { color: wheat; background-color: tomato; text-decoration: none; padding: 3px, 5px; border-radius: 5px; font-size: 50px; transition: background-color 10s ease-in-out, color 5s ease-in-out; } a:ho..
개요: 필자가 클론코딩을 공부하면서 정리한 게시물이다. position 레이아웃보다는 위치를 아주 조금 위로 오른쪽으로 옮기고 싶을 때 사용 fixed div { color:blue; width:300px; height:300px; background-color:teal; } #different { position:fixed; background-color:wheat; width:350px; } 이렇게 하면 스클롤을 내렸을시 화면상에 wheat박스는 그대로 고정되있는다. #different { top:5px; position:fixed; background-color:wheat; width:350px; } 이렇게 하면 wheat박스는 teal 박스 위로 가게 된다. 레이어가 구분되는 것을 쉽게 확인할 수..
개요: 필자가 클론코딩을 들으면서 정리한 게시물이다.(3.8~3.11) inline border는 다 적용할 수 있으나 margin은 좌우만 적용할 수 있다. 또 padding은 사방 다 적용할 수 있다. CSH body { } span { background-color: aqua; padding: 20px; margin: 30px; } div { background-color: aqua; padding: 20px; margin: 30px; } hello hello 다음과 같다. class #tomao1, #tomao2{ background-color: red; } hello hello hello hello 이렇게 쓸 수 있지만 뭔가 지저분하고 간결하지가 않다. } .tomao{ background-co..
개요: 필자가 클론코딩 공부하면서 정리한 게시물이다. 다음과 같은 결과가 나온다. color는 지정이 가능하다. placeholder 를 적용하면 다음과 같이 뜬다. type을 submit으로 지정하고 값을 버튼이라고 하면 위와 같이 뜬다. 다음과 같이도 쓸 수 있다. accept="원하는 파일 형식" 작성하고 파일 선택 누르면 해당 원하는 파일 형식만 누르 수 있다. 모든 태그들은 다 기억할 수 없다. 따라서 abcd > 대부분의 태그들은 이런 방식이므로 기억하고 이외에도 minlength, required 등 많은 것이 있으니 웹사이트를 참고하자. input의 type 기능도 여러가지 있다. 진짜 다 외우지 말고 웹사이트 참고하자 Profile Photo abc range 의 기능도 있고 label의..