Create a custom border-style [closed]
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?
javascript css html5-canvas
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.
add a comment |
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?
javascript css html5-canvas
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 usingcss
and styling thetd
elements by setting theborder-color
,border-style
andborder-width
attributes. Usingjs
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
add a comment |
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?
javascript css html5-canvas
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?
javascript css html5-canvas
javascript css html5-canvas
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 usingcss
and styling thetd
elements by setting theborder-color
,border-style
andborder-width
attributes. Usingjs
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
add a comment |
I would suggesting usingcss
and styling thetd
elements by setting theborder-color
,border-style
andborder-width
attributes. Usingjs
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
add a comment |
2 Answers
2
active
oldest
votes
You can add a custom border with the CSS property border-image
https://developer.mozilla.org/es/docs/Web/CSS/border-image
add a comment |
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.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can add a custom border with the CSS property border-image
https://developer.mozilla.org/es/docs/Web/CSS/border-image
add a comment |
You can add a custom border with the CSS property border-image
https://developer.mozilla.org/es/docs/Web/CSS/border-image
add a comment |
You can add a custom border with the CSS property border-image
https://developer.mozilla.org/es/docs/Web/CSS/border-image
You can add a custom border with the CSS property border-image
https://developer.mozilla.org/es/docs/Web/CSS/border-image
answered Jan 3 at 15:44
Daniel G. BlázquezDaniel G. Blázquez
6641720
6641720
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Jan 3 at 15:27
Blz AbdosBlz Abdos
13
13
add a comment |
add a comment |
I would suggesting using
css
and styling thetd
elements by setting theborder-color
,border-style
andborder-width
attributes. Usingjs
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