Giter VIP home page Giter VIP logo

Comments (7)

poi33 avatar poi33 commented on August 17, 2024

@web-tiki i remember this happening before some times. Its a floating point rounding issue with some sizes.
@costincca if i remember correctly this happend in only specific browsers, and it is a single pixel. You can try to tweak the math with higher precision, or you can try to blur the curtain element to make the 1 pixel difference less visible.
I would also advice to have a little room for error, especially when its a single pixel line that shows up some of the time.

from responsive-grid-of-hexagons.

costincca avatar costincca commented on August 17, 2024

Hi @poi33 I do not understand yet how the curtains are calculated. I need to use a Dev Web Tools from Chrome or Mozilla to check the elements. I started to explore the possibility to freeze the hexagons at a certain size (where the curtains look well) and change only their number per line.
Or calculate the top curtain as 50% and the bottom curtain at "bottom - size of the top one", thus having just one round operation and the second one filling in the remaining of space.

from responsive-grid-of-hexagons.

poi33 avatar poi33 commented on August 17, 2024

@web-tiki is there some calculation we can increase the precision on to avoid this?

from responsive-grid-of-hexagons.

web-tiki avatar web-tiki commented on August 17, 2024

@poi33 I don't have time to make a fix for this bug just now but the tests I made reveal the calculation bug comes from the transform property on the h1 and p element in the hexagons.

from responsive-grid-of-hexagons.

hiral14 avatar hiral14 commented on August 17, 2024

Hi @poi33 I do not understand yet how the curtains are calculated. I need to use a Dev Web Tools from Chrome or Mozilla to check the elements. I started to explore the possibility to freeze the hexagons at a certain size (where the curtains look well) and change only their number per line.
Or calculate the top curtain as 50% and the bottom curtain at "bottom - size of the top one", thus having just one round operation and the second one filling in the remaining of space.

Hi, have you figured out now how do the curtains close properly, I imported bootstrap and and curtains can't shut, there's big gap in between

from responsive-grid-of-hexagons.

Dhruvbagadiya avatar Dhruvbagadiya commented on August 17, 2024

i would like to work on this issue please assign to me

from responsive-grid-of-hexagons.

web-tiki avatar web-tiki commented on August 17, 2024

i would like to work on this issue please assign to me

Done !

from responsive-grid-of-hexagons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.