---
title: "关于canvas的最大宽度"
author: "chengyuanheng"
date: "2014-12-15T11:12:24Z"
tags: []
categories: ["Web前端"]
slug: "canvas"
draft: false
lastmod: "2014-12-15T11:12:51Z"
id: 2166318
url: "https://cckkll.iteye.com/blog/2166318"
---

Chrome里面canvas的最大宽度是：32767px;

Firefox里面canvas的最大宽度是：32766px;

\------------------------------------------------------------

超过这个最大宽度将无法画出东西来！