我正在尝试在离子3中设置背景图像。我将我的图像放在sssest-image文件夹下,我收到错误:
错误
获取http://localhost:8100/image/Static-Line-Jump-in-the-sky.jpg 404 (未找到)
代码
body
{
background-image: url('../../assest/image/Static-Line-Jump-in-the-sky.jpg');
}
答案 0 :(得分:0)
#welcome
{
background-image: url('../assets/image/Static-Line-Jump-in-the-sky.jpg');
}