PSD-HTML5-reset.css

In this example below you will see how to do a PSD-HTML5-reset.css with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by 1x, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright 1x ©

Technologies

  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>PSD-HTML5-reset.css</title>
  
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">

  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <!-- <!DOCTYPE html> -->
<html lang="en">
<head>
    <title>PSD-HTML5</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="css/reset.css"/>
    <link rel="stylesheet" href="css/common.css"/>
    <link rel="stylesheet" href="css/index.css"/>
</head>
<body>
div.public-header+div.index-banner+div.index-list+div.index-panel+div.index-panel+div.index-panel+div.public-footer
</body>
</html>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/1x/psd-html5-resetcss-OmPzGr */
/* reset.css */
body, div, dl, dt, dd, ul, li, h1, h2, h3, h4, h5, h6, input, form, a, p, textarea {
    margin: 0;
 padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

ol, ul, li {
    list-style: none;
}

a {
    text-decoration: none;
    display: block;
}

img {
    border: none;
    display: block;

}
.clearfloat { /* 清除浮动 */
    zoom: 1;
}
.clearfloat {
    display: block; /* 为了把盒子撑开 */
    clear: both;
    content: "";
    visibility: hidden; /* 设置不可见 */
    height: 0;
}

Comments