skip to Main Content

Customizing BulmaCSS colors with CSS

After reading the documentation, I still don't understand why I can't set the primary color with CSS like this: <!DOCTYPE html> <!-- Force the light theme: --> <html data-theme="light"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Hello Bulma!</title> <link rel="stylesheet"…

VIEW QUESTION

variables as selectors in jQuery

I'm learning jQuery and i'm essentially wondering if it's possible to use variables as selectors, like this: let vbox = $("body").append("<div id='box'></div>"); vbox.css({ 'width': '200px', 'height':'300px', 'background-color':'hsl(0, 0%, 10%)', 'border-radius':'10px', 'position':'absolute', 'color':'white', 'text-align':'center' }); when I do this, the css…

VIEW QUESTION
Back To Top
Search