广安市红十字会官方网站

广安市红十字会官方网站是一个提供关于广安市红十字会的相关信息和服务的在线平台。网站的设计采用了简洁、清晰的布局,方便用户快速找到所需的信息。网站的主要内容包括红十字会的历史、组织结构、活动项目、捐赠方式等。

网站设计

广安市红十字会官方网站的整体设计风格以简约为主,采用了白色和灰色作为主要色调,给人一种清新、稳重的感觉。页面布局合理,内容板块明确,用户可以轻松地在各个页面之间切换,获取所需信息。

网站的HTML代码如下:

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>广安市红十字会官方网站</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- 页面内容 -->
</body>
</html>

CSS代码如下:

”`css /全局样式/ body, html { height: 100%; margin: 0px; padding: 0px; }

/侧边栏样式/ #app { height: 100%; margin: 0px; padding: 0px; background-color: #f7f8fd !important; }

/Chrome Frame适应性样式/ .chromeframe { margin: 0.2em 0; background: #ccc; color: white; padding: 0.2em 0; }

/加载动画样式/ #loader-wrapper { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 999999; }

#loader { display: block; position: relative; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; -webkit-animation: spinner-animation infinite linear; /* Safari / animation: spinner-animation infinite linear; / Chrome, Opera and Firefox / } @keyframes spinner-animation { / Spin / 0% { transform: rotate(0deg);} / Zero rotation / 100% { transform: rotate(360deg);} / One full spin (clockwise) / } @keyframes spinner-animation-inverse {} / Spin backwards / @-webkit-keyframes spinner-animation-inverse {} / Chrome, Opera and Safari / @-moz-keyframes spinner-animation-inverse {} / Firefox / #loader-closer img{display: none;} / Close button for the loading animation / #loader-closer span{position: absolute; right: auto; left: auto; top: auto; bottom: auto; margin-top: auto; width: auto; height: auto; font-size: small; padding: auto; color: white; text-align: center; background-color: black; border-radius: auto; border: solid black; outline: solid black; cursor: pointer; display::block;“>&times; / The close button itself / body::after{position:fixed;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;height:auto!important;width:auto!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:bold!important}; / Hide the page scrollbar / body::before{position:fixed;top:0;right:0;bottom:0;left:0;content:'';overflow:hidden;z-index:99999999;pointer-events:none}.spinner{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background-colorwhite}/ Center the loading animation */.loading{border-radius4px4pxsolidrgba(38,38,38,.1);border-colorrgba(38,38,38,.1);border-topcolortransparent!important}.spinner > div{border-radius4px4pxsolidrgba(255,255,255,.2);border-topcolortransparent!important}.loading > div{border-leftcolorrgba(38,38,38,.1);border-rightcolorrgba(38,38,38,.1).animationduration2sinfinitelinear}.loading > div > span{displayinlineblock}.loading > div > span::before{marginleft1remanimationduration2sinfinitelinear}.loading > div > span::after{marginleft1remanimationduration2sinfinitelinear}.spinner > div::before{contenturl(‘data://loading.gif’);contenttypeimage/gifmargin-right6px}.spinner > div::after{contenturl(‘data://loading.gif’);contenttypeimage/gifmargin-right6px}”`