Commit 174868b3 authored by Zohten's avatar Zohten
parents 9d4ad192 47acc265
<template> <template>
<div class="hello"> <div>
<h1>{{ id }}</h1>
<button class="tile-symbol"> <button class="tile-symbol">
<img :src="this.background" :width="this.width" :height="this.height"/> <img class="tile-background" :src="this.background" :width="this.width" :height="this.height"/>
<img :src="this.svg" :width="this.width" :height="this.height"/> <img class="tile-front" :src="this.svg" :width="this.width" :height="this.height"/>
</button> </button>
</div> </div>
</template> </template>
...@@ -39,4 +38,8 @@ export default { ...@@ -39,4 +38,8 @@ export default {
background: transparent; background: transparent;
border: none; border: none;
} }
.tile-front{
position: relative;
transform: translateX(-100%);
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment