css如何将背景图片设置在div的左下角
1、新建一个html文件,命名为test.html,用于讲解css如何将背景图片设置在div的左下角。

3、在test.html文件中,给div标签添加一个id属性,用于下面样式设置。

5、在css标签内,再通过background属性设置div的背景图片为1.png,同时将background-position属性设置为"left bottom",实现背景图片设置在div的左下角。

1、新建一个html文件,命名为test.html,用于讲解css如何将背景图片设置在div的左下角。
3、在test.html文件中,给div标签添加一个id属性,用于下面样式设置。
5、在css标签内,再通过background属性设置div的背景图片为1.png,同时将background-position属性设置为"left bottom",实现背景图片设置在div的左下角。