All Questions
Tagged with sass bootstrap-4
634
questions
2
votes
0
answers
101
views
PrimeNG 17 + Bootstrap can't add layers
I can't seem to make sense of this; I use primeNG17 + bootstrap in my project, I dumbed down my import to only use what makes sense in this case;
So here's my styles.scss
@layer bootstrap-r, primeng;
...
0
votes
2
answers
1k
views
Bootstrap upgrade from v4.3 to v5 broke the whole application css
I have an angular app which is on Angular 14 uses bootstrap with SCSS compiled to node-sass/SASS package. It also uses ng-bootstrap v11 and bootstrap v4.3.1 for css styles. I had to upgrade the ...
0
votes
0
answers
36
views
Issue with Z-index: Button with Position Relative Appears Above Absolute Positioned Notification Menu, but Moves Below When position: relative Removed
I'm currently facing an issue with the z-index property in my web application. I have a notification menu that is set to position: absolute and z-index: 1000. When the menu is open, it should overlay ...
0
votes
0
answers
14
views
Keeping older mixin while utilzing Bootstrap 4's spacing utilities
I have an application that is several years old that uses Bootstrap 4, as well as a custom mixin, for spacing. The mixin.scss is as follows:
$sides: (top, left, bottom, right);
@each $prop in $props {...
0
votes
0
answers
129
views
Extract all Bootstrap 4.6 variables in a css file for using it in Figma
I need to export all variables from bootstrap\scss_variables.scss (boostrap-4.6.2) in a css file to import those variables in Figma.
I failed to convert it with sass. I got this error :
sass ...
1
vote
1
answer
1k
views
Bootstrap and Sass: error when converting SCSS files to CSS. Error: Undefined variable @each $color, $value in $theme-colors-rgb
I would like to shrink the size of the bootstrap file bootstrap.min.css. I've found that a good way to do this is to use SASS, then SCSS, so I can import only the specific components I need. I've ...
0
votes
1
answer
39
views
i am CommandNotFoundException?
Warning: PowerShell detected that you might be using a screen reader and has disabled PSReadLine for compatibility purposes. If you want to re-enable it, run 'Import-Module PSReadLine'.
PS C:\Web ...
0
votes
1
answer
30
views
How to change button's size and alignment on mobile devices?
I am placing 2 buttons at the bottom of a form and aligning them to the right:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="...
0
votes
2
answers
98
views
How to display icon and content next to each other without using bootstrap?
I have this HTML that displays icons on the left, and summary on the right. I wrapped the icons and the summary using a bootstrap class col-sm-3 col-md-3. I did this because I wanted to display only ...
0
votes
0
answers
139
views
Blazor isolation not working for some elements
I'm using SCSS to build my CSS files directly in Visual Studio. One file might look like:
//Variable overrides
$white: white;
$sidebar-dark-bg: $white;
$sidebar-dark-color: $white;
$sidebar-dark-...
1
vote
0
answers
34
views
Stretch an input control to the full width of the parent flex item's container in Bootstrap
I have the following layout.
<div class="card">
<div class="card-header">Comments</div>
<div class="container p-0">
<div class=&...
0
votes
0
answers
39
views
Add custom class to each page content with Bootstrap
I'm working with Bootstrap and using the same (.case-study.html) template for each page I'm creating.
I wish to add a custom class to the sheet of each, this would ideally be set in each page.
Any ...
0
votes
1
answer
91
views
React and bootstrap without importing and embedding into application
We all know how to import Bootstrap into an application (in this case React) but what happens when my React application will be embedded into a website that already has Bootstrap added as an external ...
0
votes
2
answers
234
views
How to set border of another element when an input control has focus?
I have a form with various input controls set up like this:
<div class="form-group mb-3">
<div class="input-group">
<input asp-for="Email" ...
1
vote
3
answers
657
views
Bootstrap form input control not changing background and border color
I'm changing the colors of the input control by doing:
//Override bootstrap variables
$input-bg: $background-color;
$input-color: yellow;
$input-border-color: $gray-500;
$input-focus-border-color: $...