---
title: "firfox 不支持background-position-x background-position-y的解决方法"
author: "roc08"
date: "2015-11-04T09:50:58Z"
tags: []
categories: ["Web前端"]
slug: "firfox-background-position-x-background-position-y"
draft: false
lastmod: "2015-11-04T09:50:58Z"
id: 2254289
url: "https://roc08.iteye.com/blog/2254289"
---

firfox 不支持background-position-x background-position-y,需要将x y写到一起，例如
想要设置background-position-y，需这样写：background-position：0px 50px