The text on a page automatically enlarges when the browser is in full-screen mode, but I no longer wish for this to happen

Recently, I encountered an issue while trying to adjust the fonts on my html page according to the screen size. Initially, I used

body{
   font-size:1vmax;
}

However, even after deciding not to use this code anymore, the font continued to change based on the screen size. Interestingly, when I removed the reference to the CSS code, everything seemed fine. Can anyone provide assistance with this matter? Below is a snippet of my HTML code:

<!doctype html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Kokeru</title>;

  //Other HTML elements...

</body>
</html>

Furthermore, here is an excerpt from my custom stylesheet (custom-style.css):

body{
    background-color: #bed0ca;
    /* font-size: 1vmax; */
}

#kokeruBrand{
    font-family: 'Raleway', sans-serif;
}

nav{
    background-color: #e3f2fd;
}

//Other CSS styles...

Answer №1

Based on the feedback, it appears that I am still utilizing the cached version of my stylesheet.

Answer №2

As mentioned in the feedback, echoing Wechuck's response,

Check out the styling applied through your browser's inspector or developer tools; it appears you're still viewing a cached version of your stylesheet. Press Ctrl+F5 to trigger a refresh.

The feedback suggests that I'm still accessing my outdated cached stylesheet.

To resolve this issue, refresh your browser using Ctrl + F5 Or Ctrl + Shift + R

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Is there a way to retrieve information from all pages of a table on a webpage using Chrome?

On a webpage, I have a table containing 100 rows that are displayed 20 at a time. By clicking "next page," I can view the following set of 20 rows and the table view is updated accordingly. I am able to access the data for each batch of 20 rows using dev ...

Mastering jQuery: Delegating a Toggle操作

Is there a way to implement a toggle function for an element that is generated dynamically? I am having trouble with my current code: Javascript $("body").on('click', ".buttonA", function(){ function() { ...

Creating tabbed content with a classless CSS design by utilizing radio buttons instead of the traditional unordered

I am attempting to transform the classless CSS and HTML provided below from a list format to using radio buttons and labels for tabbed content. My goal is to make it concise and avoid redundancy. Here is the setup of what I am aiming for: <nav> ...

Converting a CSS file into a string by importing it into a JavaScript file

Is it possible to manipulate a style tag loaded from an external CSS file using plain JavaScript? I'm attempting to apply custom styles to a style tag fetched from a CSS file, The issue lies in my struggle to convert the file content into a string ...

I'm currently designing pop-up notifications for a project I'm developing. The button appears on screen, but for some reason, the pop-up feature isn't functioning as intended

`I am currently working on a game project for my class, aiming to create a nostalgic web-based choose-your-own-adventure game similar to the ones I enjoyed playing years ago. I want the experience to be challenging, where making the wrong decisions could l ...

How to make text in HTML and CSS stay at the bottom of a div?

I am in the process of creating a website dedicated to my "Starcraft II" clan. My goal is to have the navigation bar display the text "ALLOYE" and remain fixed at the bottom of the screen. I attempted to achieve this using the following code: vertical-alig ...

Tips on centering images of any size within a frame

I am attempting to place an image within a frame. DESIGN #wrapper { border: 2px solid black; width: 600px; height: 400px; overflow:hidden; position: relative; display: inline-block; } img{ p ...

Determine the preceding element in a table by utilizing jQuery

I currently have an HTML table with the following content: <table class='main'> <tr id='r1' class='tbl'> <td>V1</td> </tr> <tr id='r2' class='tbl'> <td>V2& ...

When a selection element has a CSS box-shadow animation applied to it, it reverts to its default settings when expanded or clicked

A user notified me of an issue with a select element that has an animated box-shadow on it. I confirmed the problem on my work Windows computer, but unfortunately, I don't have access to a Windows setup at home for debugging. The select element in qu ...

Switch between visibility of objects with toggle button

I have set a background image on the body, and positioned a large box, footer, navigation bar, and header above it. In order to add functionality to slide these elements up and down, I've created two buttons with classes 'slideUp' and &apos ...

tips for adding multiple elements in a row using bootstrap 4

I recently started using bootstrap-4 to design a single page in HTML. However, I am encountering some challenges in making it responsive for various devices like Laptop-L, Laptop-M, and iPad. Currently, the design is only working properly for Laptop-L but ...

Is there a way to create a smooth opacity animation for a background image?

https://i.sstatic.net/PuxYm.jpg I am attempting to create a simple animation on my header using pink red lines that I want to make disappear and reappear on a keyframe. However, when I apply my styles, the entire container is animated instead of just the ...

Refresh the page and witness the magical transformation as the div's background-image stylish

After browsing the internet, I came across a JavaScript script that claims to change the background-image of a div every time the page refreshes. Surprisingly, it's not functioning as expected. If anyone can provide assistance, I would greatly appreci ...

Retrieve HTML content from a JSON object and render it on a web page

I am facing a challenge with decoding html that is in json format. I'm struggling to figure out how to retrieve my html and display it on a page. It seems like json_decode isn't the solution. Can anyone help me with this issue? Appreciate any as ...

Attempting to align CSS with JavaScript for seamless integration

Seeking guidance on how to convert CSS from a stylesheet into inline styles directly within an HTML document using JavaScript. The search results I've found so far have been somewhat irrelevant to what I'm looking for. To clarify, I am looking f ...

Searching for a JavaScript tool that offers syntax highlighting capabilities

I have come across some excellent RTE HTML text editors such as jsredaktor, TinyMCE, and FCK Editor, but I am in search of an HTML/JavaScript component that functions similarly to a TEXTAREA with built-in code syntax highlighting. ...

Choosing a dynamic button with Python and Selenium

I had been attempting to click on a button but was unsuccessful using various methods. This is how the source code appears: <div class="sc-fzXfPJ soOmg"> <button type="submit" class="sc-fzXfQu KbRNP SuiButton SuiButton--pr ...

Struggling to incorporate z-index for a tooltip component that overlaps in a project utilizing React, Tailwind, and DaisyUI

Hello everyone, I trust you are all doing great. I have a query regarding a Fireship IO tutorial on incorporating TailwindCSS and DaisyUI into React. I've managed to create a side navbar similar to Discord, complete with tooltips that display as span ...

Angular: facing difficulty displaying static html pages on server, although they render correctly when run locally

Within my Angular project, I have stored a few static html files (specifically sampleText.html) in the src/assets/html folder. In one of my components, I am attempting to fetch and display this file. The following code is being used for this purpose. Every ...

Element placed between two classes selected with CSS syntax

Curious about which jQuery selector to use for selecting elements with the class "bar" only if they are located under a button element (with no class) that is, in turn, placed within a div with the class "foo" <div class="foo"> <button> ...