Warning in Chrome about percentage-based rows for tracks and gutters

My CSS contains a line that reads: grid-template-rows: 20% 80%;

Interestingly, when I launch the application in Chrome, a deprecation warning pops up in the console. However, this warning does not appear when using Safari or Firefox.

The warning message states: "[Deprecation] Percentages row tracks and gutters for indefinite height grid containers will be resolved against the intrinsic height instead of being treated as auto and zero respectively. This change will happen in M70, around October 2018. See for more details. weather.html:1 Unchecked runtime.lastError: The message port closed before a response was received."

Should I simply disregard this warning, or do I need to make modifications to my CSS code to address it?

Answer №1

To resolve the warning in your website's styling, navigate to your .css file and locate each occurrence of grid-template-columns and grid-template-rows. Replace all percentage values with either auto, a specific fixed measurement, or 1fr. After making these adjustments, the warning message should no longer appear in the browser console.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Select multiple options by checking checkboxes in each row using React

Is it possible to display multiple select checkboxes with more than one per row? For example, I have four options [a, b, c, d]. How can I arrange it to have 2 options per row, totaling 2 rows instead of having 1 option per row for 4 rows? ☑a ☑b ☑c ...

How can I handle the slow finishing time of driver.get()? Is there a way to set a timeout method for it?

When testing a website, I often encounter long loading times which can be frustrating. To avoid wasting time waiting for the page to load completely, I have spent hours searching for solutions online without much success. The main issue I face is that whe ...

Browsersync and Gulp Continuously Refreshing CSS

My Gulp and Browsersync setup is causing the CSS in the Style.css file to reset every time I run npm start. While the changes to index.html persist and I can successfully push the initial CSS changes to Github, I am puzzled why the CSS additions keep reset ...

Enable automatic full-screen mode on Google Chrome upon page load

I would greatly appreciate it if you could provide an answer to this question, even if it is marked as a duplicate. I have tried various solutions and sought help, but unfortunately, nothing seems to be working for me... What I really need is for the brow ...

jquery is failing to apply the desired background color

Creating animations with jQuery <script> $(document).ready(function(){ $("button").click(function(){ $("h2").animate({backgroundColor: '#00f', width: '50%', marginLeft: '50px'}); }); }); </script> Writing ...

How to extract styles from a string using PHP

There is a string that contains some inline styles within <P><span><font> tags <p style='color:red; font-size:21px'><span style='color:blue;'><font style='font-family:Arial'>This is a ...

Can you provide guidance on configuring the image class within a DOM element using echo?

What is the method to set the class attribute of an img element using echo function? <div class="allnis" style="padding: 15px; text-transform: uparcase;"> <?php foreach($tv_id->networks as $prod){ echo "<img val ...

What is the best way to place this dropdown in a fixed position within a parent element with overflow scrolling

I am facing an issue with a dropdown menu inside a parent div. The parent div has a fixed height and is set to overflow: auto. My goal is to have the menu extend beyond the boundaries of the parent when opened, but currently it just increases the height of ...

What is the best way to set breakpoints on Material UI components?

Currently, I am exploring material-ui and I'm curious if there is a way to set all breakpoints at once. The code snippet below seems quite repetitive. Is there a more efficient method to achieve this? <Grid xs={12} sm={12} md={12} lg={12} xl={12} ...

Animating the appearance and behavior of radio buttons using CSS transitions and JavaScript

My jQuery code allows me to fetch attributes from the .item element, but I'm having trouble with my CSS transitions not working as intended. To see the desired transition effect, try replacing .item with .item-tile. How can I make my CSS transitions ...

a new webpage beginning from a different location

Starting from scratch here, I must apologize for not providing any code upfront. The issue at hand is this - I've got a page full of information sorted by ID (retrieved from the database). These IDs are linked from another page where users can click ...

What is the specific use of the second app.css file in Laravel?

I'm currently delving into Laravel 8, and I'm perplexed by the role of Resources\css\app.css. While every other component in the Resources directory serves a clear function, the app.css file appears to be empty. Even when I attempt to a ...

Toggling a div updates the content of a different div

I am looking to make the content within <div class="tcw-content"> dynamically change when a different div is clicked. I have little experience with Ajax, so I'm wondering if there are alternative ways to accomplish this using JS/CSS. If anyone h ...

Aligning two divs of varying sizes inside a parent div

Looking for help on centering 2 menus on a menubar to ensure compatibility with IE7,IE8,IE9, Chrome, and FF. I have provided measurements for both menus based on Chrome for reference. Menu 1: <div id="outer-menu-bar" style="width:800px;height:32px;"&g ...

Show a shadow-box effect around elements inside.ORPresent a

Looking to showcase a list of elements within a container div that features an inner shadow box. However, the issue is that the shadow box appears beneath the contained elements, creating an unappealing look. https://i.sstatic.net/Get3w.png After some re ...

How to align a div to the left without using the float property in

JS FIDDLE and here is the code I have come up with...I am looking for assistance in achieving a layout similar to the second one without relying on FLOAT HTML <div class="img-container"> <div class="img"></div>Cristiano Ronal ...

The reverse pagination feature of SwipeRanger is incredible for navigating through

Looking for assistance in customizing iDangerous swiper's pagination to display numbers from 10 to 1 instead of the default 1 to 10 configuration. Can someone provide guidance on how to achieve this? <!DOCTYPE html> <html lang="en> < ...

Tips for implementing a hover transition effect in the navigation menu

I have a specific query regarding a particular issue that I am unsure how to address but would like to implement on my website. 1) My requirement is that when the parent li element has a child, I want the navigation to remain in a hovered state with the s ...

Do browsers load from top to bottom or bottom to top?

I once heard conflicting information about whether a browser loads from top to bottom or from bottom to top. Another question was raised about whether a CSS file reads from the bottom to the top. I found myself wondering when someone asked me this ques ...

Tips for adjusting the width of v-text-field in Vuetify?

I have a v-text-field component within a toolbar that is taking up too much space. How can I adjust the width of the text-field to make it smaller? <v-toolbar dense > <v-app-bar-nav-icon></v-app-bar-nav-icon> <v-toolba ...