Category "css"

Why does my css design look okay on various android screens and bad on iphone devices

I'm trying to design a webpage but it looks okay on android devices but when i use apple mobile devices (iphones) it doesnt follow my css rules and looks bad. i

CSS static file is not loading in Django

I am learning Django and i tried to implement a blog app . i am getting an error while using the static files inside project.i know, There are lot of questions

How to change the styling of nested child element inside a shadow DOM using angular

I want to change the font style of a child element which is wrapped inside a parent element which is internally wrapped by others and finally it is enclosed ins

How to encapsulate Angular app's global CSS within exported web component?

Goal I have an Angular 11 site with a large form component using Angular Material -- let's call it myExportableComponent. I want to use myExportableComponent i

Right path for live sass compiler?

What is the right path if ever I already have style/css/main.css folder? How can I map livesasscompile on the same folder? Because it will automatically map on

Text alignment doesnt work on mobile [CSS]

I have a weird problem with text alignment which I never had before. On this app: https://damdafayton-countries.herokuapp.com/ two sections of text doesn't get

Tailwind custom color is not active on hover

I modified my tailwind.config.js to add a new custom color: module.exports ={ theme: { extend: { colors: { pepegray: { DEFAULT: "#323232" },

How to react clicks on an overlay flexbox(Material UI Grid) element

I have an overlay element, the overlay element is a flexbox container, there is only one item which is centered, so there is space around it. If someone clicks

How do I adjust the position where an anchor lands?

I'm using React and Material UI for this, On my navigation bar at the top of the page I have several links that are anchor links: return ( <Box sx={{

How to remove arrows on hover of<input type=date> in Chrome [duplicate]

I've created date picker as a button,and when hovering it, it looks messy in chrome browser. may be the reason is only because of its default

How to custom ModelForm with CSS - Django

I wasn't able to find a way to change the appearance of the created form by using CSS. Here is the simple code I am using: create.html {% block content %} &l

Is there a way to center a card in a container using Materialize CSS?

<link href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css" rel="stylesheet" /> <script src="https://cdnjs.cloudf

How to use different colors for each select2 option?

I'm using a select2 dropdown, and would like to set different colours on each options. Example: <select class="select2" name="fruit"> <option cl

Transparent background of the images are too big

I'm trying to position three images with flexbox inside a container, but the images have a transparent background, that somehow interfere with each other. Here

the css in my django project is not working

Please help me out. I don't get any errors in my css file or in finding it, but still the style i would like is not shown. my css file body { background-color

Disable button unless checkbox is checked (Angular 7+)?

I want to button to be disabled unless all checkboxes have been checked? How do you implement this in Angular? This is different because it is not a form and

Arrange images having different heights in a grid

I have to display 10 images that goes by row. For example: 1 2 3 4 5 6 7 8 9 10 (The number is the images) With these images, I want to remove any white

Close Bootstrap Card Container

I have a card container in my code. I have added a 'close' button that I want to close the card when I click it. I am unsure how to make this work and I've been

How to make a button that teleports randomly on the website onclick

At the moment I wanted to create a button that teleports randomly back and forth on my website. As I am very new to JavaScript, I did not get it right. That's w

How to adjust the ionic popover position responsively

page1.html <ion-icon name="more" click()="goToPopOver($event)"></ion-icon> page1.ts //all imports are made // all instances are created goToPop