Skip to content

Instantly share code, notes, and snippets.

View otabekoff's full-sized avatar
👨‍💻
Contributing to GitHub

Otabek otabekoff

👨‍💻
Contributing to GitHub
View GitHub Profile
@otabekoff
otabekoff / MarkDownCheat.md
Created February 21, 2020 12:46
My cheatsheet for Markdown

Welcome to StackEdit!

Hi! I'm your first Markdown file in StackEdit. If you want to learn about StackEdit, you can read me. If you want to play with Markdown, you can edit me. Once you have finished with me, you can create new files by opening the file explorer on the left corner of the navigation bar.

Files

StackEdit stores your files in your browser, which means all your files are automatically saved locally and are accessible offline!

Create files and folders

<div v-for="trend in trends" :key="trend.id"></div>
<script>
data() {
return {
trends: [],
}
},
created() {
this.$axios.get(
<q-btn flat round @click="$q.dark.toggle()" :icon="$q.dark.isActive ? 'nights_stay' : 'wb_sunny'" />
const hello = "Hi";
console.log(hello);
<div class="flexbox-centering">
<div class="child">Markazlashgan matn.</div>
</div>
.flexbox-centering {
height: 400px;
display: flex;
justify-content: center;
align-items: center;
}
<div class="container">
<div class="center"><span>Makrazlashgan kontent.</span></div>
</div>
.container {
border: 1px solid #333;
height: 40px;
width: 400px;
}
.center {
display: table;
height: 100%;
width: 100%;
}
<div class="grid-centering">
<div class="child">Makrazlashgan kontent.</div>
</div>
.grid-centering {
display: grid;
justify-content: center;
align-items: center;
height: 400px;
}