Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7938687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:52:46+00:00 2026-06-03T22:52:46+00:00

How do you set a border around a T-bootstrap icon? The css border property

  • 0
  1. How do you set a border around a T-bootstrap icon? The css border property creates a square and doesn’t trace the icon.

  2. What is the best way to change the color of the icon if the action’s already been done in Rails? For example, I have a star icon for “bookmark,” and it’s light grey(although I want it to be white with black border) normally, and turns orange with the :hover css property. If I want to make the icon permanently orange if the user has already bookmarked it, would I use css or ruby to determine the color?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T22:52:47+00:00Added an answer on June 3, 2026 at 10:52 pm

    For 1. CSS does not povide shadows or outlines for image pixell, only boxes (thus box-shadow).

    Preprocess icon images on the server side using a script + some image library.

    1. CSS is the best way to change item colors. Just add a custom icon class, like icon-orange, and then use this CSS icon class instead of standard one.

    (Again, preprocessing icons to yellow versions most likely needed).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to set the border-color in CSS to be the same
is there any possible way to set the border around the TextView such like
I'm trying to set a border around some districts in the UK, similar to
Is there a way to place padding or a transparent border around the cells
How do i set a style on the listbox to get a border around
Is there any way to display a border around the shape that is being
In FileMaker 11 Pro, is there a way to conditionally set the color of
I'm doing this to set a border around input fields: input[type=text], input[type=password], textarea {
I have a CSS style which sets up a particular '-webkit-border-image' property for an
I have set the following CSS to the QWidget Stylesheet: QWidget { background-color: qlineargradient(x1:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.