Jump to content

Recommended Posts

Hi, I was playing around with my website and I was trying to make a semi-transparent footer

This is the code I used for the footer

<footer class="footer galaxy-footer">
  <div class="content has-text-centered">
    <p>
    <script src="js/copyright.js">
    </script>© 2018-2020, <strong>Company.</strong>
    </p>
  </div>
</footer>

And this is my css

.galaxy-footer {
    background-color: rgba(25, 25, 25, .5);
    color: var(--white);	// #ffffff
}

.galaxy-footer strong {
    color: var(--white);
}

The other classes are Bulma's classes and they seems not to be the issues

What I get is an half transparent footer and a grey bar, which is the part that is not displayed when the page loads because the content pushes the footer down

Is this a known issue or did I forget something?

 

Screenshot 2020-02-25 at 21.59.01.png

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...