-
카테고리
-
세부 분야
풀스택
-
해결 여부
미해결
MainImage.js의 background 설정은 직접 만드신건가요?
20.10.27 22:33 작성 조회수 176
2
<div style={{
background: `linear-gradient(to bottom, rgba(0,0,0,0)
39%, rgba(0,0,0,0)
41%, rgba(0,0,0,0.65)
100%),
url('${props.image}'), #1c1c1c`,
height : '500px',
backgroundSize : '100%, cover',
backgroundPosition:'center, center',
width:'100%',
position:'relative'
}}>
이 부분은 직접 만드신건가요? 아니면 Document 를 참고하신건가요?
답변을 작성해보세요.
1
답변 1