Skip to content

Instantly share code, notes, and snippets.

@glaucia86
Last active May 27, 2019 01:12
Show Gist options
  • Save glaucia86/67679858175d917e43f49e7683c0b5a6 to your computer and use it in GitHub Desktop.
Save glaucia86/67679858175d917e43f49e7683c0b5a6 to your computer and use it in GitHub Desktop.
<template>
<div class="calculadora">
<div class="display">1.565854</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
<div>teste</div>
</div>
</template>
<script>
export default {
};
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.calculadora {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-auto-rows: minmax(50px, auto);
}
.display {
grid-column: 1 / 5;
background-color: #333;
color: white;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment