Create a custom border-style [closed]












-1















I will create a new border style with css and javascript. See the attached image. I thought to create an image with the canvas js. In your opinion, what is the best way to do it?



enter image description here










share|improve this question















closed as unclear what you're asking by Amy, Terry, Temani Afif, mustaccio, Billal Begueradj Jan 3 at 16:13


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















  • I would suggesting using css and styling the td elements by setting the border-color, border-style and border-width attributes. Using js for something this simple complicates your application by a 1000-fold and basically disables you from making a responsive application.

    – BRO_THOM
    Jan 3 at 15:16













  • Maybe you could use border-image for this?

    – Stretau
    Jan 3 at 15:23


















-1















I will create a new border style with css and javascript. See the attached image. I thought to create an image with the canvas js. In your opinion, what is the best way to do it?



enter image description here










share|improve this question















closed as unclear what you're asking by Amy, Terry, Temani Afif, mustaccio, Billal Begueradj Jan 3 at 16:13


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















  • I would suggesting using css and styling the td elements by setting the border-color, border-style and border-width attributes. Using js for something this simple complicates your application by a 1000-fold and basically disables you from making a responsive application.

    – BRO_THOM
    Jan 3 at 15:16













  • Maybe you could use border-image for this?

    – Stretau
    Jan 3 at 15:23
















-1












-1








-1








I will create a new border style with css and javascript. See the attached image. I thought to create an image with the canvas js. In your opinion, what is the best way to do it?



enter image description here










share|improve this question
















I will create a new border style with css and javascript. See the attached image. I thought to create an image with the canvas js. In your opinion, what is the best way to do it?



enter image description here







javascript css html5-canvas






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 3 at 16:37









Daniel G. Blázquez

6641720




6641720










asked Jan 3 at 15:03









mohamed oumastmohamed oumast

1




1




closed as unclear what you're asking by Amy, Terry, Temani Afif, mustaccio, Billal Begueradj Jan 3 at 16:13


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









closed as unclear what you're asking by Amy, Terry, Temani Afif, mustaccio, Billal Begueradj Jan 3 at 16:13


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • I would suggesting using css and styling the td elements by setting the border-color, border-style and border-width attributes. Using js for something this simple complicates your application by a 1000-fold and basically disables you from making a responsive application.

    – BRO_THOM
    Jan 3 at 15:16













  • Maybe you could use border-image for this?

    – Stretau
    Jan 3 at 15:23





















  • I would suggesting using css and styling the td elements by setting the border-color, border-style and border-width attributes. Using js for something this simple complicates your application by a 1000-fold and basically disables you from making a responsive application.

    – BRO_THOM
    Jan 3 at 15:16













  • Maybe you could use border-image for this?

    – Stretau
    Jan 3 at 15:23



















I would suggesting using css and styling the td elements by setting the border-color, border-style and border-width attributes. Using js for something this simple complicates your application by a 1000-fold and basically disables you from making a responsive application.

– BRO_THOM
Jan 3 at 15:16







I would suggesting using css and styling the td elements by setting the border-color, border-style and border-width attributes. Using js for something this simple complicates your application by a 1000-fold and basically disables you from making a responsive application.

– BRO_THOM
Jan 3 at 15:16















Maybe you could use border-image for this?

– Stretau
Jan 3 at 15:23







Maybe you could use border-image for this?

– Stretau
Jan 3 at 15:23














2 Answers
2






active

oldest

votes


















1














You can add a custom border with the CSS property border-image
https://developer.mozilla.org/es/docs/Web/CSS/border-image






share|improve this answer































    -1














    as far as i know border-style is limited to dotted, dashed, solid, double



    the best outcome i did find is to use image, but you'll struglle to handle colors.
    see this example https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_border-image.






    share|improve this answer






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      You can add a custom border with the CSS property border-image
      https://developer.mozilla.org/es/docs/Web/CSS/border-image






      share|improve this answer




























        1














        You can add a custom border with the CSS property border-image
        https://developer.mozilla.org/es/docs/Web/CSS/border-image






        share|improve this answer


























          1












          1








          1







          You can add a custom border with the CSS property border-image
          https://developer.mozilla.org/es/docs/Web/CSS/border-image






          share|improve this answer













          You can add a custom border with the CSS property border-image
          https://developer.mozilla.org/es/docs/Web/CSS/border-image







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 3 at 15:44









          Daniel G. BlázquezDaniel G. Blázquez

          6641720




          6641720

























              -1














              as far as i know border-style is limited to dotted, dashed, solid, double



              the best outcome i did find is to use image, but you'll struglle to handle colors.
              see this example https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_border-image.






              share|improve this answer




























                -1














                as far as i know border-style is limited to dotted, dashed, solid, double



                the best outcome i did find is to use image, but you'll struglle to handle colors.
                see this example https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_border-image.






                share|improve this answer


























                  -1












                  -1








                  -1







                  as far as i know border-style is limited to dotted, dashed, solid, double



                  the best outcome i did find is to use image, but you'll struglle to handle colors.
                  see this example https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_border-image.






                  share|improve this answer













                  as far as i know border-style is limited to dotted, dashed, solid, double



                  the best outcome i did find is to use image, but you'll struglle to handle colors.
                  see this example https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_border-image.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 3 at 15:27









                  Blz AbdosBlz Abdos

                  13




                  13















                      Popular posts from this blog

                      Monofisismo

                      Angular Downloading a file using contenturl with Basic Authentication

                      Olmecas