To achieve this effect, designers often create a container with a transparent PNG-image as background and place the content inside the container - with equidistant padding on all sides of the box.
要达到这个效果,设计者们通常会创建一个容器,用一张透明的PNG图像作为其背景,并把内容放在这个容器中。
Listing 1 shows a simple container type, Box, which supports put and get operations.
清单1展示了一个简单的容器(container)类型Box,它支持put和get操作。
应用推荐