Skip to content

Commit

Permalink
add the grid guides for demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
hinak0 committed Oct 13, 2022
1 parent d44a711 commit aba4afc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/demo/app.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div id="app">
<div class="list" id="list">
<div class="list grid" id="list">
<VueDragResize v-for="(rect, index) in rects"
:key="index"
:w="rect.width"
Expand Down Expand Up @@ -66,6 +66,12 @@
background-color: white;
}
/* grid of the main panel */
.list.grid{
background-image: linear-gradient(chocolate 1px,transparent 1px),linear-gradient(90deg,chocolate 1px,transparent 1px);
background-size: 50px 50px;
}
.box-shaddow {
box-shadow: 10px 10px 15px 0px rgba(125,125,125,1);
}
Expand Down Expand Up @@ -133,4 +139,4 @@
}
}
}
</script>
</script>

0 comments on commit aba4afc

Please sign in to comment.