Skip to main content

All Questions

Tagged with
0 votes
3 answers
960 views

how to make multiple pages with sass?

I want to have 2 pages with their own style using sass. now I have a main.scss file and all styles will be compiled in style.css with this command in package.json "watch:sass": "node-...
ali safaeyan's user avatar
0 votes
2 answers
323 views

How to apply border to html select button?

As shown in the picture I applied a border radius for the select tag but when pressing on it the arrow button isn't taking the border radius. (Only in Opera browser) css: .App select{ font-family: &...
Firas SCMP's user avatar
0 votes
1 answer
84 views

Is it possible to make this geometric figure in css and html?

Is it possible to make this geometric figure in css and html? Can't find anything. Can you help me?
davR7's user avatar
  • 83
0 votes
1 answer
35 views

PhpStorm: Add Sass/SCSS section in HTML [duplicate]

I want to mix HTML and SCSS/Sass in one file. Is there a way to make PhpStorm to respect both languages? Something like this: <html> <h1>a Header</h1> <p>some text</p> &...
mxsteini's user avatar
-2 votes
1 answer
33 views

cant compile ' hover ' in scss : display:block - no reaction

my hover cant compile in scss in ul, li with display:block; my "color" is changed before :hover but not "display". in css it isnt problem a{ display: ...
m52's user avatar
  • 13
0 votes
1 answer
982 views

Using SCSS, How can I give CSS style to a specific element among the elements with the same node position?

First, please check my code. <div className={styles.settingInfo}> <header> <h1>User ID</h1> <p>this is for user ID</p> &...
Aden Lee's user avatar
  • 260
-2 votes
1 answer
171 views

Vertical triangle css

I need to create full width, transparent triangle with border and some elements inside via CSS. Does somebody know how to do that? Thanks in advance.
Exoriri's user avatar
  • 435
0 votes
0 answers
122 views

Applying theme changing mechanism at run-time with css var

I'd like to use css var() in order to change themes on my website at run-time. Every time a user selects a theme, I import the correspondent file into the page. But once I import an already imported ...
Ohad Yeahhh's user avatar
0 votes
1 answer
491 views

Selecting parent style based on condition in SCSS

I have a table where I used display: flex to display the table. I also have two types of rows where one is a header, and another one is a body of the table. The table's header text is center aligned. ...
Kirk's user avatar
  • 5,067
0 votes
2 answers
76 views

How do I make the hovered element to be active

How do I make the hovered element to stay. As you can see in the codepen if I hover over the "Service" it shows the content but when I try to click on the content it disappears. index.html ...
deathstroke's user avatar
0 votes
0 answers
36 views

How to fit properly a div with border inside a parent div with border?

class CardsDeck extends React.Component { render() { const cards = [{ id: 1 }, { id: 2 }]; return ( <div className="App"> <div className="container"> ...
Arturio's user avatar
  • 456
0 votes
0 answers
143 views

Can't scroll to top or left of flex when using align-items:center or justfiy-content:center

I am using display:flex in a parent element with justify-content:center and align-items:center and the parent element having multiple children. so when I want to scroll it to extreme top or extreme ...
PraThink's user avatar
0 votes
2 answers
81 views

Style input radio with css

I have a problem with radio input css. The slider background is not beneath the label. I trying with z-index but it didn't work.enter code here <div class="toggle_radio"> <input ...
aoey's user avatar
  • 3
0 votes
0 answers
110 views

problem with rounded corners and containers

I'm trying to do a container with rounded corners, basically it will have a rounded corner on the top-left of the header(red) and then it should have it on the bottom left of the view that we have.... ...
Prince Hernandez's user avatar
0 votes
1 answer
274 views

label doesn't display when hover

hi I want the label "hidden-btn-txt" display when hover but It doesnt show at all when the mouse is on the label i tried to do hover to the "hidden-btn" but it doesnt work html in tsx: return (<...
michele abr's user avatar

15 30 50 per page