Skip to content

Instantly share code, notes, and snippets.

@oliverbth05
oliverbth05 / app.js
Created April 21, 2018 17:58
Simple Counter Component - Vue.js
var app = new Vue({
el: "#counterApp",
data: {
count: 0
},
methods:{
increment: function(){
@oliverbth05
oliverbth05 / app.css
Created April 21, 2018 23:12
Input --> Array --> Html
body {
font-family: 'Roboto', sans-serif;
font-weight: lighter;
}
#navbar {
margin-top: 0;
@oliverbth05
oliverbth05 / app.css
Last active April 23, 2018 20:47
Basic Descriptive Stats with Computed Properties (Vue)
#app{
padding-top: 100px;
}
h3{
text-align:center;
}
#dataHeader{
padding-bottom: 5px;
@oliverbth05
oliverbth05 / app.css
Last active April 24, 2018 19:55
VUE.js Simple Game
#body{
background: #DA4453; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #89216B, #DA4453); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #89216B, #DA4453); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
#headerSegment{
text-align:center;
@oliverbth05
oliverbth05 / app.css
Created April 28, 2018 17:37
Password Generator (Vue + Semantic UI)
#text-align-center{
text-align: center;
}
#width170{
width: 170px;
}
#width70{
width: 70px;
@oliverbth05
oliverbth05 / Card.css
Created May 8, 2018 15:55
CSS Card/Window (Works best with Bootstrap)
.card{
width: 300px;
margin: 10px;
border-radius: 8px;
}
.card_header{
text-align: center;
width: 100%;
background: rgb(200, 200, 260);
@oliverbth05
oliverbth05 / app.css
Created May 9, 2018 15:01
Real-Time Bar chart with data input (Vue)
#app{
margin: auto;
width: 40%;
text-align: center;
border: 1px solid grey;
padding: 10px;
margin-top: 50px;
}
@oliverbth05
oliverbth05 / app.css
Last active May 10, 2018 19:21
Clock and Table (Materialize + Vue)
#table {
width: 400px;
margin: auto;
text-align: center;
}
#inputForm{
width: 400px;
margin: auto;
margin-top: 50px;
@oliverbth05
oliverbth05 / app.js
Created May 14, 2018 12:59
Array Sorting Vue
new Vue({
el: "#app",
data: {
entries: [],
amount :"",
date :"",
byDate: true
},
methods: {
submit: function(){
@oliverbth05
oliverbth05 / app.css
Last active September 9, 2022 20:39
Vuetify Responsive Toolbar with Navigation Drawer
#drawer{
background: rgba(240, 240, 240, 1);
}