강의

멘토링

커뮤니티

Inflearn Community Q&A

soolove1004's profile image
soolove1004

asked

HTML+CSS+JS Portfolio Practical Publishing (Season 2)

CSS Section UI Design - Font Awesome Gradient Service Pricing Table (3)

pointer-event:none;

Written on

·

17

1

10:57 부분에서, 설명하셨던 것처럼 .btn과 ul에 position: relative; 를 줘도 드래그가 잡히고, 저번 CSS 강의에서 알려주신 속성중에

pointer-events: none;을 .item:before 선택자에 주니까 한번에 해결이 되었어요!

알려주신것 문득문득 떠오르고 적용할때마다 너무 행복합니다!ㅎㅎ

아래는 item:before 부분

.item:before {
  content: '';
  position: absolute;
  background-color: rgba(255, 255, 255, 0.267);
  width: 100%;
  height: 47%;
  left: 0;
  bottom: 0;
  transform: rotate(-10deg) scale(1.2);
  pointer-events: none;
}
image.png

 

HTML/CSSjavascriptjquery

Answer 1

0

codingworks님의 프로필 이미지
codingworks
Instructor

문제를 해결하셨다니 다행입니다!!

soolove1004's profile image
soolove1004

asked

Ask a question