Skip to content

Instantly share code, notes, and snippets.

View jdzcn's full-sized avatar

Songbin jdzcn

View GitHub Profile
@jdzcn
jdzcn / dabblet.css
Last active April 9, 2022 04:10
Untitled
@import "compass/css3";
div {
width: 200px;
margin: 30px;
}
h2 {
font: 400 40px/1.5 Helvetica, Verdana, sans-serif;
margin: 0;
@jdzcn
jdzcn / deepform.css
Created February 23, 2021 12:53
css:deepform
body {
margin:0px;
min-height:480px;
}
h1{
background:-webkit-gradient(linear,left top,left bottom,color-stop(0.0,#666666),color-stop(0.5,#3A3A3A),color-stop(0.5,#222222),color-stop(1.0,#000000));
-webkit-box-shadow:0 2px 1px #AAAAAA;
-webkit-border-bottom-left-radius:6px;
@jdzcn
jdzcn / lightform.css
Created February 23, 2021 12:52
css:lightform
input[type=text], select {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
@jdzcn
jdzcn / columns.css
Created February 23, 2021 12:50
css:columns
/* 创建两列 */
/* Left column */
section {
float: left;
height: 500px;
width: 75%;
background-color: #f1f1f1;
border: 1px;
padding: 5px;
}
@jdzcn
jdzcn / dropmenu.css
Created February 23, 2021 12:49
css:dropmenu
.dropdown {
position: relative;
display: inline-block;
float:right;
cursor:pointer;
}
.dropdown-content {
display: none;
@jdzcn
jdzcn / table.css
Created February 23, 2021 12:49
css:table
table {
padding: 0;
word-break: initial;
margin: 0.8em 0;
border-collapse:collapse;
}
table tr {
border-top: 1px solid #dfe2e5;
margin: 0;
@jdzcn
jdzcn / topnav.css
Created February 23, 2021 12:48
css:topnav
/* 导航条 */
nav {
overflow: hidden;
background-color: #333;
}
/* 导航条链接 */
nav a {
float: left;
display: block;
@jdzcn
jdzcn / default.css
Created February 23, 2021 12:48
css:default
html {
font-size: 1.2em;
background-color:gray;
}
body {
font-family: "Open Sans","Clear Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: rgb(51, 51, 51);
line-height: 1.6;
background-color:white;
@jdzcn
jdzcn / house.html
Created February 23, 2021 11:27
html:house agreement
<!doctype html>
<html>
<head>
<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>
<title>house</title>
<style>
* {box-sizing: border-box;}
table {
width: 100%;
border-collapse:collapse;
@jdzcn
jdzcn / default.html
Created February 23, 2021 03:12
html:default
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="">
<title>Document</title>
</head>
<body>