diff --git a/video-3/index.html b/video-3/index.html new file mode 100644 index 0000000..8d8210d --- /dev/null +++ b/video-3/index.html @@ -0,0 +1,69 @@ + + + + + + Memory Game + + + + +
+
+ Aurelia + JS Badge +
+
+ Aurelia + JS Badge +
+ +
+ Vue + JS Badge +
+
+ Vue + JS Badge +
+ +
+ Angular + JS Badge +
+
+ Angular + JS Badge +
+ +
+ Ember + JS Badge +
+
+ Ember + JS Badge +
+ +
+ Backbone + JS Badge +
+
+ Backbone + JS Badge +
+ +
+ React + JS Badge +
+
+ React + JS Badge +
+
+ + + + diff --git a/video-3/styles.css b/video-3/styles.css new file mode 100644 index 0000000..2725475 --- /dev/null +++ b/video-3/styles.css @@ -0,0 +1,43 @@ +* { + padding: 0; + margin: 0; + box-sizing: border-box; +} + +body { + height: 100vh; + display: flex; + background: #060AB2; +} + +.memory-game { + width: 640px; + height: 640px; + margin: auto; + display: flex; + flex-wrap: wrap; +} + +.memory-card { + width: calc(25% - 10px); + height: calc(33.333% - 10px); + margin: 5px; + position: relative; + transform: scale(1); + box-shadow: 1px 1px 1px rgba(0,0,0,.3); +} + +.memory-card:active { + transform: scale(0.97); + transition: transform .2s; +} + +.front-face, +.back-face { + width: 100%; + height: 100%; + padding: 20px; + position: absolute; + border-radius: 5px; + background: #1C7CCC; +}