---
title: "CSS样式重叠，前端显示的效果"
author: "J2EE大鸟"
date: "2013-05-11T01:57:11Z"
tags: []
categories: ["Web前端"]
slug: "css"
draft: false
lastmod: "2013-05-11T01:57:11Z"
id: 1867060
url: "https://benworld.iteye.com/blog/1867060"
---

我们主要依靠css 的 z-index属性

看图说话：

![](http://dl.iteye.com/upload/attachment/0084/2897/de4292c1-39cd-32bc-9b61-2ee1da00f5bc.jpg)