Skip to content

Commit b8a8e34

Browse files
committed
do not use a deprecated API to illustrate
1 parent 284d189 commit b8a8e34

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cssdb.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"docs": {
7474
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/ratio"
7575
},
76-
"example": "@media (device-aspect-ratio: 1.77) {\n html {\n background-color: cyan;\n }\n}",
76+
"example": "@media (aspect-ratio: 1.77) {\n html {\n background-color: cyan;\n }\n}",
7777
"polyfills": [
7878
{
7979
"type": "PostCSS Plugin",

cssdb.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default [
7373
"docs": {
7474
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/ratio"
7575
},
76-
"example": "@media (device-aspect-ratio: 1.77) {\n html {\n background-color: cyan;\n }\n}",
76+
"example": "@media (aspect-ratio: 1.77) {\n html {\n background-color: cyan;\n }\n}",
7777
"polyfills": [
7878
{
7979
"type": "PostCSS Plugin",

cssdb.settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"docs": {
5151
"mdn": "https://developer.mozilla.org/en-US/docs/Web/CSS/ratio"
5252
},
53-
"example": "@media (device-aspect-ratio: 1.77) {\n html {\n background-color: cyan;\n }\n}",
53+
"example": "@media (aspect-ratio: 1.77) {\n html {\n background-color: cyan;\n }\n}",
5454
"mdn_path": "css.types.ratio.number_value",
5555
"polyfills": [
5656
{

0 commit comments

Comments
 (0)