question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash if css file has rgba(0, 0, 0, 0.1);

See original GitHub issue

Description

ValueError: could not convert string to float:

body {
    color:  rgba(0, 0, 0, 0.1);
}

Support Info

  • ST ver.: 4126
  • Platform: osx
  • Arch: arm64
  • Plugin ver.: 4.3.0
  • Install via PC: True
  • mdpopups ver.: 4.2.1

Steps to Reproduce Issue

  1. Create a .css file with above content
  2. See this issue

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ptcongcommented, Apr 13, 2022

Thank you, it’s working fine now.

0reactions
facelessusercommented, Apr 12, 2022

Fix has been released, though it could be 1 - 2 hours before it is seen in Package Control.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues with CSS and HTML - Border Radius and Background ...
You have to add the border-radius to the <th> s and <td> s on the corner. There is a quite long conversation here...
Read more >
opacity | CSS-Tricks
Values are a number from 0 to 1 representing the opacity of the channel (the “alpha” channel). When an element has a value...
Read more >
Blazor CSS Handling | FREE Blazor Crash Course (.NET 5)
This video is part of The FREE Blazor Crash Course. In this crash course, we build an actual ... background-color: rgba(255, 255, 255,...
Read more >
opacity - CSS: Cascading Style Sheets - MDN Web Docs
The opacity CSS property sets the opacity of an element. ... Any <number> strictly between 0 and 1, The element is translucent (that...
Read more >
CSS rgba() function - W3Schools
#p1 {background-color:rgba(255,0,0,0.3);} /* red with opacity*/ ... RGBA color values are an extension of RGB color values with an alpha channel - which ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found