GolangTraining icon indicating copy to clipboard operation
GolangTraining copied to clipboard

ADDING CSS FILE IN GO

Open MK-Twinkle opened this issue 7 years ago • 1 comments

I want to add the effect of CSS file in GO code. HTML is added to it. Can somebody say how to add CSS file.

MK-Twinkle avatar Apr 02 '18 10:04 MK-Twinkle

That's a bit unclear. Mainly, what do you mean when you say:

HTML is added to it.

Were you able to add an HTML template to your Go code as suggested to you in your previous issue HOW TO USE HTML WITH GO #29?

If so, simply linking in a external CSS file in the head element of your template would work well for moderate amounts of styling rules.

eboCode avatar Apr 17 '19 20:04 eboCode