Questions tagged [stylesheet]
DO NOT USE THIS TAG. Use [css] for CSS related issues and [xslt] for XSLT related issues instead.
3,055
questions
-1
votes
0
answers
26
views
Writing Efficient CSS - Selector Matching [closed]
What are some tips for writing efficient CSS?
I tried to understand how selector matching works in CSS and came across this article and also tried to find answers from this StackOverflow post.
The ...
-1
votes
0
answers
37
views
Not all stylesheets are loaded
There are 2 stylesheets. One is under the project folder (created for base.html) and another is inside the app folder (for applist.html).
collectstatic command did collect both the stylesheets and put ...
2
votes
2
answers
138
views
How to set background colour of an image as black colour?
I have an html image
<img src="abc.png">
and I want while the image is being loaded in the browser on a slower connection. The background / placeholder of image appear appear black. ...
0
votes
0
answers
109
views
How do I setup a color code for text files or normal files in Atom?(Screenshots attached for clarity)
I am trying to customize my Atom browser and want to change the color of the "normal" text for .txt files and untitled files to yellow, like here(I changed the color for comments just to ...
1
vote
0
answers
102
views
Tailwind CSS doesn't support colon?
I can't use colon in TailwindCSS stylesheet. When I hover over, it says semi-colon expected. How to fix this problem? Thank you guys.
0
votes
1
answer
40
views
Accidentally put shadows on my text when creating a shadow border outline
When creating a border that has shadows, I noticed whatever text I put inside that border(which is a view) that my text also has the same shadow implementation.
How can I achieve this same shadow ...
0
votes
1
answer
126
views
How to create a wave with my view on react native
I wanna create a specific form with my view. The view is supposed to do this
But i struggling with react native.
Also my code
return StyleSheet.create({
parent: {
height: '30%',
width:...
0
votes
1
answer
49
views
Cornerstone 6.0.0 eslint update
My team is upgrading our cornerstone from 5.7.1 to 6.0.0 and we noticed on Github after creating the pull request that there are a lot of eslint errors being thrown- all related to our stylesheets. We ...
-1
votes
1
answer
34
views
CSS external stylesheet not working when bootstrap included
My external stylesheet is not being compiled if I include bootstrap. But it is working in internal and inline stylesheet. Why does this thing not working with external stylesheet. And sometimes I ...
0
votes
1
answer
27
views
Adding additional stylesheets/scripts to a grails layout from a view or controller
I want to use a grails layout to define a common layout for all pages in the application. Currently it looks something like this:
<!DOCTYPE html>
<html lang="dk">
<head>
...
1
vote
2
answers
84
views
How to save stylesheet after refresh using js?
I'm using two stylesheets to improve the dark/light mode in my website but after refreshing the website it lost the chosen stylesheet and came back to default as it coded in the index file, I heard ...
0
votes
1
answer
46
views
Draw the corner of a quadrilateral inside a larger quadrilateral in react-native [closed]
I have drawn such a shape and I want to turn it into the following shape in react-native
const App = () => {
return (
<View style={styles.container} >
<View style={
...
1
vote
1
answer
411
views
Bring a view on absolute position to front in react native
This is happening on with Android and on iOS it's working fine. I have a component that has a badge which I also custom-made.
function HomeMenuCell({ title, imagePath, pressEvent, showBadge, badgeText ...
0
votes
1
answer
114
views
Flex is not splitting components equally in react native
I'm trying to make a layout like this:
In order to do so, I've made two components named HalfWidthFullHeightCard and HalfWithHalfHeightCard.
I've created the HalfWidthFullHeightCell component as?
...
1
vote
1
answer
413
views
Flask (Python) - Stylesheet url_for code for image in a parallel folder
I am attempting to build a website using Flask. I am using Python 3.9 I have the following directory tree:
environment/
main.py
app.yaml
requirements.txt
Templates/
base....
1
vote
1
answer
542
views
overflow-y in react native
Is there any way by which we can simulate the overflow-y: hidden (MDN Docs) style in react-native StyleSheet?
1
vote
1
answer
40
views
td width not apply when table wrapped with div with specific width and overflow is applied
With the below html, I am not able to add width of td element
here table is wrapped with div and it's width is 200px and overflow-x is given.
<div class="scroll" style="width: 200px; overflow-x:...
0
votes
1
answer
97
views
How can fix Cart Button on Home Screen while scrolling
I was trying to make a cart button on home screen and I want cart always stay on same position but when I'm scrolling cart button also moving up and down. But I don't want that. I have tried Position: ...
0
votes
1
answer
112
views
react native flexwrap with alignItems: center is not working
I am working on a responsive design using flex on react-native
<View
style={{
flexDirection: 'row',
alignItems: 'center',
flexWrap: 'wrap',
justifyContent: '...
-2
votes
3
answers
201
views
How to put button just after text in react-native?
How to put button just after text in react-native like on image below?
1
vote
0
answers
1k
views
Getting this warning while running ng serve for angular 12 - Unable to locate stylesheet: C:\Workstation\fe\assets\css\core.css
warning message
My angular was 7, but recently I upgraded it to 12.0.5. The ng build goes fine and ng serve is also executing without any error but always getting the above warnings. Also, I am trying ...
2
votes
1
answer
150
views
Cannot initialize TinyMCE on target node: loading stylesheet crashes
I'm trying to initialize TinyMCE on an existing DOM element like this:
tinymce.init({
target: editorNode,
menubar: true,
inline: true
});
This fails, with the following ...
1
vote
0
answers
302
views
CSS - Playbill Background Not Passing Check for HW?
Thank you for your help! I have reached out to my professor and fellow classmates; as well as, I have also re-read the chapter twice to find the answer. We are using the book: HTML5 & CSS by Carey ...
2
votes
2
answers
220
views
REACT NATIVE: I have added a picture on bottom. Now my keyboard is not opening
I have added a picture on the bottom of the mobile screen with style as:
bottomView: {
position: 'absolute',
bottom: 0,
},
Above this picture, I have my sign-in form, but because the picture ...
1
vote
2
answers
357
views
how to change background-color in bootstap-vue toggler button
I am working vue js project for my own skill development.
When I change bootstrap-vue toggler background color but Unfortunately background-color isn't changed? I am new in Vue js. please solve this ...
0
votes
1
answer
65
views
React Native - Changing Color of Custom Component Button with Prop
I created a custom component. onPress and title have prop method but I also want to add another prop for setting color. The structure I try to make is like below
<TextButton color="red" ...
1
vote
0
answers
111
views
React native StyleSheet.create where should I put
I need to pass props into Styles. So I created StyleSheet inside the class. But normal practice would be to create StyleSheet outside from the class.
I want to know are there any performance drawbacks ...
1
vote
0
answers
35
views
How to create font face from link and apply as font family dynamically?
So I'm loading fonts and then the challenge is that I don't have a @font-face and font-family class as both those things are unknown to me.
I'm getting all the font-families from a user. How can I ...
-1
votes
2
answers
20
views
Html not linking with stylesheet
I'm confused. I've been trying to link my home-page to my stylesheet, but no matter how many times I reload the page, it won't load the link. I'm following the book that I have, and I'm copying the ...
0
votes
1
answer
162
views
navigation bar all the way to the top
I created a navigation bar for my asp.net page. I put it on my site.master page. I want to increase the width of the navigation bar so that it is all the way to the end of the screen.Right now, the ...
0
votes
1
answer
153
views
How force update the CSS cache of the client?
I have a problem with updating the CSS stylesheet on my website.
I'm using nodejs and express as a server. When updating the CSS code I want it to automatically use the new style. I do this by giving ...
0
votes
2
answers
450
views
Change style of li element to an chevron
I am currently creating a list this should instead of the default element ● would like to have a chevron right like in the example photo. However, I do not use bootstrap but Bulma. Is there an option ...
0
votes
1
answer
273
views
Fill needed space but not more than there is space with FlatList in React-Native
I have an FlatList in card, that is in parent view which has flex:1. I want to fill needed space with card, but I don't want it to overflow over parent container. Also I don't want card to fill ...
1
vote
0
answers
44
views
QT stacked widget inheriting parent stylesheet with #
In QT designer, i defined a frame with a background image on its stylesheet with
QWidget#frame_2{
image: url(:/newPrefix/image.png);
}
As far as i am concerned, the # before frame_2 should stop it ...
1
vote
0
answers
45
views
Cleaning HTML Codes
I'm trying to clean my code, but I realized I still have large junk of code in the Header section that I wish to clean too.
Is there a way to replace the following 7 lines with a single one without ...
0
votes
1
answer
96
views
CSS Given a property to body element, give another property to element INSIDE body
I have all my body on one column.
But I would like my header (which inside of my body) to be on another column.
How can I select the header element and change its properties even tho the body element ...
0
votes
1
answer
57
views
Saxon EE .Net version evaluation, getting Method not found exception while validating the xsd
I am using Saxon 10.5 version .net evaluation version. when trying to compile xsd its throwing below error.
Method not found: 'Void System.IO.FileStream..ctor(System.String, System.IO.FileMode, System....
0
votes
1
answer
20
views
Picture height change or resize
I am programming spirit-safe.de, but I think the image is too high so I want to reduce the height. Do I best do this via CSS? Cant find the image in my Ruby on Rails code hence it must be in CSS I ...
10
votes
1
answer
8k
views
Angular unable to locate stylesheet warning
I have get a warning like this
Warning: Unable to locate stylesheet: D:\Angular\certification\Angular8Certification\https:\stackpath.bootstrapcdn.com\bootstrap\4.4.1\css\bootstrap.min.css
I am ...
0
votes
1
answer
34
views
What is @ in CSS attributes? Where it is defined on website code? (example- color:@fill;)
Sometimes in websites while inspecting the codes, I come across CSS properties that I don't understand. Like the "@" in CSS. What @ stands for, and where are its values defined?
For example:
...
0
votes
1
answer
73
views
Can i switch of <link href=""> using django?
is that possible to make a switch button that change my styleesheet using django framework ?
'''
By example, in my head html i got this :
<link href="{% static 'website/assets/css/style_dark....
0
votes
1
answer
216
views
Html: css disable user agent stylesheet
I want to disable user agent stylesheet in my code. I lookes for it but the only answeres were:
Disable direct in the browser (makes no sense, because when i launche the website on a other website it'...
0
votes
2
answers
21
views
External stylesheet from github not linking
So till now I always used stylesheets which are in the same folder as my website, but I want to be more flexible and work on my layout via github. So i uploaded the css file and used the raw link. I ...
0
votes
1
answer
227
views
React Native: Using JS Stylesheet vs CSS/SCSS for styles
I've been told that using CSS/SCSS to define styles in React Native is a better practice than just using the native StyleSheet from 'react-native'.
I've been looking around a lot and can't find a ...
2
votes
1
answer
93
views
Using class="sponsor_logo" or class="sponsor-logo" does not display the div
I noticed a strange behavior and cannot understand why this is happening, since they do seem to be valid CSS class names (they pass when tested against the regex).
using any other words in that ...
0
votes
0
answers
28
views
clean up a xml with stylesheet ( xsl ) [duplicate]
I will clean up in, with a xml stylesheet, my issues are the I can not get the NODE, and output its again nothing happen. :-D
<?xml version="1.0" encoding="UTF-8"?>
<!--...
0
votes
2
answers
54
views
Column doesnt take the full hight
I have a problem:
as you can see in the picture, the problem is, that the column doesnt take the full hight. On the left side is what i got and on the right is what i want. Maybe you guys can help me ...
0
votes
1
answer
7
views
Over right styles of jQuery CSS framework
So I have an app that uses jQuery for certain parts. Such as the Autocomplete and Calendar Date Picker. I'm introducing a new style called .more-compact that will implement a smaller version of the ...
0
votes
1
answer
94
views
onPress event is not working in react native expo
I've been trying to add onPress event on buttons in my page but it's not responding and since I'm new to react native I couldn't figure it out.
This is the code of the page I want to put onPress event ...
0
votes
1
answer
488
views
How to add faded border in a Image component in React Native?
How to fade the border of an image shown below or how can achieve it? Any help would be appreciated