Category: CSS Style

27
Oct
2021

CSS style setup

1.Div 设置CSS 背景透明: div {  background: rgba(76, 175, 80, 0.3) /* Green background with 30% opacity */} 2.设置图片width and height: <img src=”img_girl.jpg” alt=”Girl in a jacket” width=”500″ height=”600″>