• 회원가입
  • 로그인
  • 구글아이디로 로그인

[css] CSS - 폰트오썸 아이콘 배경이미지 적용 + fontawesome 엑박원인 엑박해결

목차
  1. 폰트오썸 아이콘 배경이미지 적용
  2. 폰트오썸 엑박 원인과 해결

 

폰트오썸 아이콘 배경이미지 적용

 

body {

  font-family: sans-serif;

  font-size: 16px;

  line-height: 1.5;

  background: #eee;

}


h1 {

  font-size: 2em;

  margin-bottom: .5em;

}


p {

  margin-bottom: 1em;

}


#wrap {

  width: 80%;

  margin: 1em auto;

  padding: 1em 5%;

  background: #fff;

  position: relative;

}


.inner {

  position: relative;

  z-index: 2;

}


#wrap:after {

  content: "\f087"; 

  color: lightblue;

  font-size: 250px;  

  font-family: FontAwesome;

  font-style: normal;

  font-weight: normal;

  text-decoration: inherit;

  position: absolute;  

  top: 50%;

  left: 50%;

  margin: -180px 0 0 -100px;

  z-index: 1;

}

</style>

<div id="wrap">

  <div class="inner">

    <h1>홈짱닷컴</h1>

    <p>Homzzang.com</p>    

    <p>HTML </p>    

    <p>CSS</p>

    <p>JS </p>    

    <p>JQUERY</p>    

  </div>

</div>

 

결과보기

 

폰트오썸 엑박 원인과 해결

 

1. 폰트오썸 외부링크 오류 체크

2. <i> 태그에 사용해선 안 되는 CSS 정의 : (예: font 스타일 설정)

3. 폰트오썸 크로스도메인 오류 여부 체크

 


 


분류 제목
image CSS - image-rendering 속성 - 크기 조정 가능 이미지의 렌더링 방식 지정 (= image-…
css CSS - inset 속성 -
css CSS - inset-block 속성 -
css CSS - inset-block-end 속성 -
css CSS - inset-block-start 속성 -
css CSS - inset-inline 속성 -
css CSS - inset-inline-end 속성 -
css CSS - inset-inline-start 속성 -
css CSS - isolation 속성 - 요소가 새 스택(stack: 쌓음) 콘텐츠를 생성해야 하는지 여부 지정…
grid CSS - justify-items 속성(C) - 인라인축 부분단위별 그리드 아이템 일괄 정렬 (= just…
grid CSS - justify-self 속성 -
box CSS - margin-block 속성 -
box CSS - margin-block-end 속성 -
box CSS - margin-block-start 속성 -
box CSS - margin-inline 속성 - 인라인방향 양쪽 끝 바깥 여백 주기 (= margin-inlin…
box CSS - margin-inline-end 속성 -
box CSS - margin-inline-start 속성 -
css CSS - mask-image 속성 -
css CSS - mask-mode 속성 -
css CSS - mask-origin 속성 -
21/25
목록
찾아주셔서 감사합니다. Since 2012