Fixed top div to set translucency


Copy code

The code is as follows:

<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “”>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>
< title > Top fixation < / Title >
<style type=”text/css”>
html,body {overflow:hidden;margin:0px;width:100%;height:100%;}
.virtual_body {width:100%;height:100%;overflow-y:scroll;overflow-x:auto;}
.fixed_div {position:absolute;z-index:2008;top:0px;left:0px;right:16px;height:40px;background:#CCCCCC;border-bottom:3px inset;border-color:#006699;
//border:1px solid red;
//Translucent effect making
< div > < font color = “red” > Zhengzhou University
<div style=”height:888px;”>

Goodbye, I will come back to see you!

The renderings are as follows:

Recommended Today

Learning and using JSON

Official account: Xiao Li is not bald, Java original blogger. It will take about 7.8 minutes to read this article Preface In the process of software development, services and services call each other. Before data transmission, we usually convert the data to JSON format for transmission, such as Ajax call request, receiving the JSON data, […]