Skip to content

Commit bcd98b2

Browse files
committed
added background color to background property of component display
1 parent 1c7604e commit bcd98b2

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

src/components/ComponentDisplay.vue

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,29 @@ export default {
177177
console.log('mockBg is working', this.imagePath[this.activeRoute])
178178
return this.imagePath[this.activeRoute]
179179
? {
180-
background: `url("${this.userImage}") center/contain no-repeat`
180+
background: `url("${this.userImage}") center/contain no-repeat rgba(223, 218, 218, 0.886)`,
181+
// 'background-color': 'rgba(223, 218, 218, 0.886)',
182+
// 'background-size': '100px 100px, 100px 100px, 20px 20px, 20px 20px',
183+
// 'background-position':' -2px -2px, -2px -2px, -1px -1px, -1px -1px',
184+
// 'background-image': `-webkit-linear-gradient(white 2px, transparent 2px),
185+
// -webkit-linear-gradient(0, white 2px, transparent 2px),
186+
// -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
187+
// -webkit-linear-gradient(0, rgba(255, 255, 255, 0.3) 1px, transparent 1px)`,
188+
// 'background-image': `-moz-linear-gradient(white 2px, transparent 2px),
189+
// -moz-linear-gradient(0, white 2px, transparent 2px),
190+
// -moz-linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
191+
// -moz-linear-gradient(0, rgba(255, 255, 255, 0.3) 1px, transparent 1px)`,
192+
// 'background-image': `linear-gradient(white 2px, transparent 2px),
193+
// linear-gradient(90deg, white 2px, transparent 2px),
194+
// linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
195+
// linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px)`,
196+
// '-pie-background': `linear-gradient(white 2px, transparent 2px) -2px -2px / 100px,
197+
// linear-gradient(90deg, white 2px, transparent 2px) -2px -2px / 100px,
198+
// linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px) -1px -1px /
199+
// 20px, linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px) -1px -1px /
200+
// 20px, #269`,
201+
// 'background-image': `url(${this.userImage})`,
202+
// behavior: 'url(/pie/PIE.htc)',
181203
}
182204
: {}
183205
}

0 commit comments

Comments
 (0)