You have to be logged in to leave a comment.
Sign In
1
2
3
4
5
6
7
8
<p>Hey guys,</p><p>A quick note about the next lecture. If you find that your custom styles are not working, make sure that you change the order of link tags in the header. </p><p>CSS styles are applied in the order they are linked in your HTML code. </p><p>So if you had two stylesheets e.g. styles1.css and styles2.css which both target the same element e.g.</p><p><strong>styles1.css</strong></p><pre class="prettyprint linenums">body {
}</pre><p>If inside the head section if your HTML, you list your links as this:</p><pre class="prettyprint linenums"><link rel="stylesheet" href="styles1.css">
<link rel="stylesheet" href="styles2.css"></pre><p>The resulting page will be <strong>blue</strong>.</p><p>But if you listed your links like this:</p><pre class="prettyprint linenums"><link rel="stylesheet" href="styles2.css">
<link rel="stylesheet" href="styles1.css"></pre><p>The resulting page will be <strong>red</strong>.</p><p>Essentially both styles are being applied, but the one that's visible at the end is the one applied last.</p><p><br></p><p>So following that logic, if your custom styles are not overriding the bootstrap styles, all you need to do is move the link to your custom stylesheet to a line after the bootstrap CDN link:</p><pre class="prettyprint linenums"><link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/styles.css"></pre><p>This means that you first load the default bootstrap styles, then you can override some of those components with your own custom CSS. </p><p>Unlike CSS and JavaScript, HTML code is executed from top to bottom so the order of your code matters.</p><p>All the best,</p><p>Your instructor, Angela</p><p><br></p>
Press p or to see the previous file or,
n or to see the next file
Comments
Integrate AWS S3
Use S3 remote
Select bucket
Access key
Finish
Use AWS S3 as storage!
Browsing data directories saved to S3 is possible with DAGsHub. Let's configure
your repository to easily display your data in the context of any commit!
Specify your S3 bucket
Select Region
af-south-1 - Africa (Cape Town)
ap-northeast-1 - Asia Pacific (Tokyo)
ap-northeast-2 - Asia Pacific (Seoul)
ap-south-1 - Asia Pacific (Mumbai)
ap-southeast-1 - Asia Pacific (Singapore)
ap-southeast-2 - Asia Pacific (Sydney)
ca-central-1 - Canada (Central)
eu-central-1 - EU (Frankfurt)
eu-north-1 - EU (Stockholm)
eu-west-1 - EU (Ireland)
eu-west-2 - EU (London)
eu-west-3 - EU (Paris)
sa-east-1 - South America (São Paulo)
us-east-1 - US East (N. Virginia)
us-east-2 - US East (Ohio)
us-gov-east-1 - US Gov East 1
us-gov-west-1 - US Gov West 1
us-west-1 - US West (N. California)
us-west-2 - US West (Oregon)
Congratulations!
The-Complete-Web-Development-Bootcamp is now integrated with AWS S3!
Delete Storage Key
Are you sure you want to delete this access key?
No
Yes
Integrate Google Cloud Storage
Use Google Storage
Select bucket
Upload key
Finish
Use Google Cloud Storage!
Browsing data directories saved to Google Cloud Storage is possible with DAGsHub. Let's configure
your repository to easily display your data in the context of any commit!
Specify your Google Storage bucket
Congratulations!
The-Complete-Web-Development-Bootcamp is now integrated with Google Cloud Storage!
Delete Storage Key
Are you sure you want to delete this access key?
No
Yes
Integrate Azure Cloud Storage
Use Azure Storage
Select bucket
Set key
Finish
Use Azure Cloud Storage!
Browsing data directories saved to Azure Cloud Storage is possible with DAGsHub. Let's configure
your repository to easily display your data in the context of any commit!
Specify your Azure Storage bucket
Congratulations!
The-Complete-Web-Development-Bootcamp is now integrated with Azure Cloud Storage!
Delete Storage Key
Are you sure you want to delete this access key?
No
Yes
Integrate S3 compatible storage
Use S3 like remote
Select bucket
Access key
Finish
Use any S3 compatible storage!
Browsing data directories saved to S3 compatible storage is possible with DAGsHub. Let's configure
your repository to easily display your data in the context of any commit!
Specify your S3 bucket
Bucket name cannot be the same as the repository name. Please change one of them.
Check this box only if you trust this domain, otherwise your data and credentials might be
stolen by man in the middle or spoofing attacks.
Congratulations!
The-Complete-Web-Development-Bootcamp is now integrated with your S3 compatible storage!