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.

Minimum Size without animation

See original GitHub issue

Is your feature request related to a problem? Please describe. Not a problem, just a request

Describe the solution you’d like I would like to set a range for the sizes. Maybe particles.size.value accepts a Number / Object

Number would be for what it is now, a maximum size. Object could be:

{
  'min': 10,
  'max': 35
}

Describe alternatives you’ve considered No alternatives…

Additional context This is a thread from the repo this project was branched from that had no response. https://github.com/VincentGarreau/particles.js/issues/320

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
robhuskacommented, Apr 24, 2020

Wow!!! Fantastic! Thanks for keeping this up-to-date.

0reactions
matteobrunicommented, May 5, 2020

The only other way is finding the particlesJS references and replace them, javascript files and javascript code but this can be a little tricky.

I try to explain it easily:

These steps should make it work but if there’s some customization over particles.js these couldn’t be enough.

Having the support of the plugin creator should be the easiest way. If you can provide me a link I try to give more information about this project to the creator.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I transition height: 0; to height: auto; using CSS?
Here's an animation that shows how combining the bottom margin transition with the minimum height transition, both of equal duration, gives us a...
Read more >
AnimatedSize Shrink to minimal size without animation #21384
My problem is that when the size is smaller than current size,the sub widget in AnimatedSize will shrink to minimal size without animation ......
Read more >
min-height - CSS: Cascading Style Sheets - MDN Web Docs
The min-height CSS property sets the minimum height of an element. It prevents the used value of the height property from becoming smaller ......
Read more >
Animating CSS Width And Height Without The Squish Effect
In this 5 minute tutorial we'll explore using the transform property to simulate animating the width of an element. Don't Animate the Width...
Read more >
Using CSS Transitions on Auto Dimensions
There's no one solution that achieves the desired effect without downsides. ... the actual height of the element will be the minimum of...
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