Google Chrome Update - Issue with copying code from Inspector CSS

0 votes

I have no idea why this has started happening but it is very annoying...

Basically, now when I copy CSS from Google Chrome Inspector, it formats it as follows:

border-radius: 50%;
    width: 26
px
;
    height: 26
px
;
    color: transparent;
    margin: 0 auto;
    padding: 0;
    position: relative;

Instead of how it's always worked like so:

border-radius: 50%;
width: 26px;
height: 26px;
color: transparent;
margin: 0 auto;
padding: 0;
position: relative; 

Any idea on why this is happening and how I can fix it?

EDIT: I think it's to do with the latest Chrome update...

It seems it now has an option to set which metric you want to use, i.e. PX, EM etc...

Can this be disabled somehow?

enter image description here

Jun 16, 2022 in CSS by Edureka
• 13,620 points
382 views

1 answer to this question.

0 votes

You can disable it via the Settings > Experiments > Enable CSS length authoring tools in the Styles pane checkbox.

answered Jun 21, 2022 by Edureka
• 12,690 points

Related Questions In CSS

0 votes
0 answers
0 votes
1 answer

How to build a special polygon (a kite shape) with HTML & CSS only?

I made two divs, one for Arc ...READ MORE

answered May 28, 2022 in CSS by Edureka
• 12,690 points
1,544 views
0 votes
1 answer

Making a dotted grid with CSS

You can use the background-position CSS property to do ...READ MORE

answered May 31, 2022 in CSS by Edureka
• 12,690 points
2,042 views
0 votes
1 answer

"SyntaxError: Invalid or unexpected token" - How to SSR images/css with react

The first thing to highlight is that ...READ MORE

answered Jun 1, 2022 in CSS by Edureka
• 12,690 points
4,250 views
0 votes
1 answer

How to install firebug in chrome?

FIrebug was a chrome extension that was ...READ MORE

answered Dec 21, 2018 in Selenium by Shuvodip
16,640 views
0 votes
2 answers

How to get the URL of the current tab in Google Chrome?

Its so simple.... If you want to ...READ MORE

answered Aug 12, 2020 in Others by Steve
• 200 points
3,576 views
0 votes
1 answer

How to stop input in SublimeREPL?

You have to do ctrl+break or ctrl+space ...READ MORE

answered Jun 27, 2019 in Python by SDeb
• 13,300 points
890 views
+2 votes
2 answers

Is Reactjs SEO friendly? with google bots

Yes, with SERVER-SIDE RENDERING you will not face ...READ MORE

answered Feb 10, 2022 in Others by Shreesh
• 160 points
2,838 views
0 votes
1 answer

Is there any way to colorize a white PNG image with CSS only?

Filters can be used with -webkit-filter and ...READ MORE

answered May 27, 2022 in CSS by Edureka
• 12,690 points
1,954 views
0 votes
1 answer

Is there any way to animate an ellipsis with CSS animations?

You might try to time each ellipsis ...READ MORE

answered May 27, 2022 in CSS by Edureka
• 12,690 points
1,205 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP