css 파일 분리하는법


css 파일 분리하는법

기존 test.jsp <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <head> <title>타이틀</title> <style> .test { margin: 0; background: #eaedf1; font-family: 'Lato', sans-serif; } </style> </head> <body> <h2>Main Test </h2> <div> <button class="test" type="button">나의 계좌 정보</button> </div> </body> </html> 파일 분리 후 폴더 구조 style.css 파일을 생성한다. 파일 분리 후 test.jsp 파일 <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core...


#css #jsp #파일분리 #폴더분리

원문링크 : css 파일 분리하는법