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.

Add custom display property

See original GitHub issue

👋 Hi everyone,

First of all, thanks for your really cool lib!

As a web developper I need a way to add custom css display. For exemple display: flex instead of display: block.

It can be really cool 🤘

Thanks again

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
robsonsobralcommented, Mar 20, 2022

Easier than that is to use the hidden parameter on the initial state of the form. From MDN:

The hidden global attribute is a Boolean attribute indicating that the element is not yet, or is no longer, relevant. For example, it can be used to hide elements of the page that can’t be used until the login process has been completed. Browsers won’t render elements with the hidden attribute set.

Which make it perfect for this case.

1reaction
Alex-Dcommented, Aug 28, 2019

You can hack it with something like

#cookies-eu-banner[style*="display: block"] {
  display: flex !important;
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Use the Display Property to Manipulate the Box Model ...
In this tutorial, you will work through multiple demos using the display property and learn how it determines flow interactions with other ...
Read more >
display - CSS: Cascading Style Sheets - MDN Web Docs
The display CSS property sets whether an element is treated as a block or inline element and the layout used for its children, ......
Read more >
Customize Property Display - MATLAB & Simulink - MathWorks
When you create a PropertyGroup object using a cell array of property names, MATLAB automatically. Adds the property values for a scalar object...
Read more >
display | CSS-Tricks
The display property accepts keyword values. Those keywords can be grouped into different categories. /* <display-outer> (its natural flow). */ ...
Read more >
Display properties: Expanding - Studio Help - Google Support
Expanding ads expand in size after someone clicks an expand button. Use the display properties in Studio's Preview step to customize how an...
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