first commit
This commit is contained in:
46
mixitup-3.3.1/demos/basic-ie-8/index.html
Normal file
46
mixitup-3.3.1/demos/basic-ie-8/index.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link href="../reset.css" rel="stylesheet"/>
|
||||
<link href="./style.css" rel="stylesheet"/>
|
||||
|
||||
<title>MixItUp Demo - Basic (IE8 Compatible Layout)</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="controls">
|
||||
<button type="button" class="control" data-filter="all"></button>
|
||||
<button type="button" class="control" data-filter=".green"></button>
|
||||
<button type="button" class="control" data-filter=".blue"></button>
|
||||
<button type="button" class="control" data-filter=".pink"></button>
|
||||
<button type="button" class="control" data-filter="none"></button>
|
||||
|
||||
<button type="button" class="control" data-sort="default:asc">Asc</button>
|
||||
<button type="button" class="control" data-sort="default:desc">Desc</button>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="mix green"></div>
|
||||
<div class="mix green"></div>
|
||||
<div class="mix blue"></div>
|
||||
<div class="mix pink"></div>
|
||||
<div class="mix green"></div>
|
||||
<div class="mix blue"></div>
|
||||
<div class="mix pink"></div>
|
||||
<div class="mix blue"></div>
|
||||
|
||||
<div class="gap"></div>
|
||||
<div class="gap"></div>
|
||||
<div class="gap"></div>
|
||||
</div>
|
||||
|
||||
<script src="../mixitup.min.js"></script>
|
||||
|
||||
<script>
|
||||
var containerEl = document.querySelector('.container');
|
||||
|
||||
var mixer = mixitup(containerEl);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
122
mixitup-3.3.1/demos/basic-ie-8/style.css
Normal file
122
mixitup-3.3.1/demos/basic-ie-8/style.css
Normal file
@@ -0,0 +1,122 @@
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
background: #f2f2f2;
|
||||
}
|
||||
|
||||
*,
|
||||
*:before,
|
||||
*:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Controls
|
||||
---------------------------------------------------------------------- */
|
||||
|
||||
.controls {
|
||||
padding: 16px;
|
||||
background: #333;
|
||||
font-size: 0.1px;
|
||||
}
|
||||
|
||||
.control {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
padding: 10px;
|
||||
font-size: 15px;
|
||||
height: 35px;
|
||||
min-width: 25px;
|
||||
background: #444;
|
||||
cursor: pointer;
|
||||
color: white;
|
||||
font-weight: 800;
|
||||
transition: background 150ms;
|
||||
}
|
||||
|
||||
.control:hover {
|
||||
background: #3f3f3f;
|
||||
}
|
||||
|
||||
.control[data-sort*=":desc"]:after {
|
||||
transform: translateY(-4px) rotate(-135deg);
|
||||
}
|
||||
|
||||
.mixitup-control-active {
|
||||
background: #393939;
|
||||
}
|
||||
|
||||
.control[data-filter="all"] {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.control[data-filter=".green"] {
|
||||
background: #91e6c7;
|
||||
}
|
||||
|
||||
.control[data-filter=".blue"] {
|
||||
background: #5ecdde;
|
||||
}
|
||||
|
||||
.control[data-filter=".pink"] {
|
||||
background: #d595aa;
|
||||
}
|
||||
|
||||
.control[data-filter="none"] {
|
||||
background: #2f2f2f;
|
||||
}
|
||||
|
||||
/* Container
|
||||
---------------------------------------------------------------------- */
|
||||
|
||||
.container {
|
||||
padding: 16px;
|
||||
text-align: justify;
|
||||
font-size: 0.1px;
|
||||
}
|
||||
|
||||
.container:after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Target Elements
|
||||
---------------------------------------------------------------------- */
|
||||
|
||||
.mix,
|
||||
.gap {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.mix {
|
||||
background: #fff;
|
||||
border-top: 8px solid transparent;
|
||||
border-radius: 2px;
|
||||
margin-bottom: 1.25%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.mix:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
padding-top: 56.25%;
|
||||
}
|
||||
|
||||
.mix.green {
|
||||
border-top-color: #91e6c7;
|
||||
}
|
||||
|
||||
.mix.pink {
|
||||
border-top-color: #d595aa;
|
||||
}
|
||||
|
||||
.mix.blue {
|
||||
border-top-color: #5ecdde;
|
||||
}
|
||||
|
||||
.mix,
|
||||
.gap {
|
||||
width: 24%;
|
||||
}
|
||||
Reference in New Issue
Block a user