2013-02-12から1日間の記事一覧

z-indexにまつわる簡単な問題

次の場合、ブラウザでの表示はどうなるでしょうか。 答えは実際に実行してみてください。 <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>z-index test</title> <style type="text/css"> #layer01 { width: 300px; height: 120px; background: lightblue; position: absolute; z-index: 3; } #layer02 {…</meta></head></html>