Comments (4)
There are few problems using CDN bootstrap.
- If you have to use custom (your own css) in your html file you have to link it after the boostrap cdn.
- Then if you have same property confilicting with bootstrap class and custom css. you have to use
!important
at the end of css property
body{
background: red !important;
}
from tutoringtrainingstudents.
https://codepen.io/Mayank-Jain-1/pen/abjwemQ
just adding the class to the body is working fine for me
from tutoringtrainingstudents.
@SRP31d
two things I can suggest with my minimal knowledge of CSS.
- apply style directly to body.
<body style="background: blueviolet;" class="">
- or put this style in a class, like @Mayank-Jain-1 suggested, and do like this.
CSS class
.backgroundbody {
background: blueviolet;
}
HTML
<body class="backgroundbody">
full solution here.
https://codepen.io/jay-pancodu/pen/jOpwgLa
Jay.
from tutoringtrainingstudents.
There are few problems using CDN bootstrap.
1. If you have to use custom (your own css) in your html file you have to link it after the boostrap cdn. 2. Then if you have same property confilicting with bootstrap class and custom css. you have to use `!important` at the end of css property
body{ background: red !important; }
one of the many reasons why I don't waste my time with CSS in freshers batch is because, we have students who are struggling to understand 'how to verify email account'
When such is the scenario, explaining to them about things like solving 'conflicting' css rules and what not, will only go above their head.
Of course, there is also my personal bias against any sort of time spent learning CSS.
Either way, feel free to help out students with your CSS knowledge. Something I myself have no intention to do :)
Ultimately my advice to freshers is the KISS policy.
- Use the standard bootstrap classes and don't do any customization.
- Use existing templates with minimal modifications.
- Eventually, once you have spent a few months working on front end development, please come back and go deeper into CSS if that is what your job demands.
If you know JavaScript, and are poor in CSS, you will still get a job.
if you know CSS, but never got the time to learn JavaScript, then, your chances are job are less.
from tutoringtrainingstudents.
Related Issues (20)
- college javascript or python project submission HOT 3
- My Photo web Home Page... HOT 1
- JS Doubt : functions HOT 1
- Pointer Trail HOT 1
- Solving some Function Question HOT 1
- Coding Challenge : 1, 2, 5, 8, 13, 18 .... HOT 4
- Local Storage HOT 4
- How to use mark down in github HOT 1
- Issue in Recursion Function HOT 5
- Nasa project not working HOT 4
- working on add a display history feature to a simple calculator project HOT 6
- CSS Assignment Breakfast Places in Mumbai HOT 10
- Link (Github) will not work. HOT 5
- Query related to API key HOT 2
- Json Data for assignment and mini project HOT 1
- demoing asking doubts on twitch workshop
- NASA APOD XHR Project HOT 1
- Assignment 1 HOT 2
- Mini Project Diary Location HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tutoringtrainingstudents.