반응형 분류 전체보기322 [CSS] nth-child & nth-of-type [html] 지금 가입하면, 배송비 무료 쿠폰 증정!!! 로그인 회원가입 [css] @charset "EUC-KR"; body{ margin : 0px; padding: 0px; } a{ text-decoration-line: none; } .event{ background-color: green; height: 50px; color: white; text-align: center; /*가로만 가운데가 상태가 된다*/ line-height: 40px; /*세로 가운데 정렬 설정한다*/ cursor: pointer; } .inner{ background-color: orange; width: 1300px; margin: auto; position: relative; } .inner img:nth-child.. 2023. 9. 17. [CSS] <li> 리스트의 점 없애기 로그인 회원가입 .up_menu{ position: absolute; top: 10px; right: 0; display: flex; list-style-type:none; } up_menu 클래스에 list-style-type:none; 문구를 추가한다. 2023. 9. 17. [HTML] 링크 걸기 및 링크 라인 없애기 지금 가입하면, 배송비 무료 쿠폰 증정!!! 태그에 연결할 링크 주소를 넣고, 를 감싸면, 에 해당되는 초록 박스를 클릭시 연결한 링크 주소로 이동한다. 그런데 저렇게 하면, 텍스트 아래 링크라인이 생긴다. 저 링크라인을 없애려면 css에 아래 코드를 추가해주면 된다. a{ text-decoration-line: none; } 2023. 9. 17. [CSS] DIV 텍스트 가운데 정렬(가로, 세로) .event{ background-color: green; height: 50px; color: white; } 지금 가입하면, 배송비 무료 쿠폰 증정!!! .event{ background-color: green; height: 50px; color: white; text-align: center; /*가로만 가운데가 상태가 된다*/ } .event{ background-color: green; height: 50px; color: white; text-align: center; /*가로만 가운데가 상태가 된다*/ line-height: 40px; /*세로 가운데 정렬 설정한다*/ } 2023. 9. 17. 이전 1 ··· 75 76 77 78 79 80 81 다음 반응형