[CSS] - How to find all buttons that contain a specific | SheCodes

[CSS] - How to find all buttons that contain a specific text in Chrome Developer Tools

Learn how to easily find all buttons with a specific text in Chrome Developer Tools using a CSS selector.

👩‍💻 Technical question

How do i find all the buttons that contain "Continue Shopping" in the chrome developer tools

🤖 SheCodes Athena says:

Answered in 4.72 seconds

To find all the buttons that contain "Continue Shopping" in the Chrome Developer Tools, you can use the following steps:

  1. Open the Chrome Developer Tools by pressing F12 or right-clicking on a webpage and selecting "Inspect".
  2. Click on the "Elements" tab in the Developer Tools window.
  3. Press "Ctrl + F" to activate the search bar.
  4. Type "Continue Shopping" in the search bar and press enter.
  5. All the instances where "Continue Shopping" appears will be highlighted in the Elements panel.

If you would like to find only buttons that contain the specific text "Continue Shopping", the search bar can be modified with the following CSS selector:

code
Copy code
button:contains('Continue Shopping')

This will return all button elements that contain "Continue Shopping" in the text.

👩‍💻 what about ones that are not visible?

🤖 SheCodes Athena says:

Answered in 5.52 seconds

If you want to find all buttons that contain "Continue Shopping" including those that are not visible in the current view, you can run a JavaScript code snippet in the Developer Tools console. Here's an example code snippet that will return an array of all the button elements that contain "Continue Shopping" in their text, including hidden ones:

javascript
Copy code
const buttons = Array.from(document.getElementsByTagName('button')); const continueShoppingButtons = buttons.filter(button => button.textContent.includes('Continue Shopping') ); console.log(continueShoppingButtons);

This code first gets an array of all the buttons on the page using getElementsByTagName(). It then filters the array to only include buttons whose textContent property includes the string "Continue Shopping". The resulting filtered array is then logged to the console.

Keep in mind that this will return an array of all button elements containing "Continue Shopping" across the entire page, regardless of whether or not they are visible in the current view.

More coding questions about CSS

👩‍💻 Technical question

Asked 21 hours ago in CSS by Moisha

how to align images to the center in css

🤖 SheCodes Athena says:

Answered in 3.69 seconds

To align images to the center in CSS, you can use the following methods:

  1. Using Flexbox:
css
Copy code
.container { display: flex; justify-content: center; /* centers horizontally */ align-items: center; /* centers vertically */ height: 100vh; /* makes sure the container takes full height */ }
html
Copy code
<div class="container"> <img src="your-image.jpg" alt="Centered Image"> </div>
  1. Using Margin Auto:
css
Copy code
img { display: block; margin: 0 auto; /* this will center the image horizontally */ }
html
Copy code
<img src="your-image.jpg" alt="Centered Image">

You can choose either method based on your layout needs. For more information on Flexbox, you can visit CSS Tricks Flexbox Guide.

👩‍💻 HTML, CSS and JavaScript Code instructions

I want to add a background image with opacity

🤖 SheCodes Athena says:

Answered in 5.2 seconds
html
Copy code
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Background Image with Opacity</title> <link rel="stylesheet" href="styles.css"> </head> <body> <div class="background-image"></div> <div class="content"> <h1>Hello, World!</h1> <p>This is a sample text over a background image with opacity.</p> </div> </body> </html>
css
Copy code
body, html { margin: 0; padding: 0; height: 100%; font-family: Arial, sans-serif; } .background-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('your-image-path.jpg'); /* Replace with your image path */ background-size: cover; background-position: center; opacity: 0.5; /* Adjust opacity between 0 and 1 */ z-index: -1; /* Send the background image behind content */ } .content { position: relative; z-index: 1; /* Bring content to the front */ color: white; /* Text color to stand out */ text-align: center; margin-top: 20%; }
javascript
Copy code
// No JavaScript is necessary for this implementation, but you can add functionality as needed.

👩‍💻 Technical question

Asked 1 day ago in CSS by Sissel

I'm trying to position a ul (a list with dots) to the right with a fixed position using css. How can I do this?

🤖 SheCodes Athena says:

Answered in 2.94 seconds

You can position a <ul> element to the right side of the page with a fixed position using CSS like this:

css
Copy code
ul { position: fixed; right: 0; /* Position it to the right */ top: 50%; /* Center it vertically */ transform: translateY(-50%); /* Adjust for its height */ list-style-type: disc; /* Use dots for the list */ }

In your HTML, you would have something like:

html
Copy code
<ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul>

This code will make the list stay fixed on the right side of the screen, vertically centered. You can adjust the top value if you want it positioned differently.

👩‍💻 Technical question

Asked 1 day ago in CSS by Kirsty

how do i get rid of the line under my href

🤖 SheCodes Athena says:

Answered in 2.55 seconds

To remove the underline from a hyperlink (<a> tag) in HTML, you can use CSS. Here's a simple example of how to do that:

html
Copy code
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Remove Underline from Link</title> <style> a { text-decoration: none; /* This removes the underline */ } </style> </head> <body> <a href="https://www.example.com">Click Here</a> </body> </html>

In this example, setting text-decoration: none; in the CSS style for the anchor tag (a) removes the underline. You can replace the link with your desired URL.

👩‍💻 Technical question

Asked 1 day ago in CSS by Kelsey

how do i add a background image to my button

🤖 SheCodes Athena says:

Answered in 4.84 seconds

To add a background image to a button in HTML using CSS, you can use the background-image property. Here’s a simple example:

html
Copy code
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Button with Background Image</title> <style> .image-button { background-image: url('your-image-url.jpg'); /* Replace with your image URL */ background-size: cover; /* This makes the image cover the whole button */ color: white; /* Text color */ padding: 10px 20px; /* Button padding */ border: none; /* No border */ cursor: pointer; /* Cursor changes to pointer */ font-size: 16px; /* Font size */ } </style> </head> <body> <button class="image-button">Click Me!</button> </body> </html>

In this example, make sure to replace 'your-image-url.jpg' with the actual URL of your image. You can adjust the padding, color, and font-size to suit your design needs.

👩‍💻 i want to do this with out using meta

🤖 SheCodes Athena says:

Answered in 6.51 seconds

If you want to add a background image to a button without using the <meta> tag for viewport settings, you can simply focus on the CSS and HTML parts. Here's the same button example without any meta tags:

html
Copy code
<!DOCTYPE html> <html lang="en"> <head> <title>Button with Background Image</title> <style> .image-button { background-image: url('your-image-url.jpg'); /* Replace with your image URL */ background-size: cover; /* This makes the image cover the whole button */ color: white; /* Text color */ padding: 10px 20px; /* Button padding */ border: none; /* No border */ cursor: pointer; /* Cursor changes to pointer */ font-size: 16px; /* Font size */ } </style> </head> <body> <button class="image-button">Click Me!</button> </body> </html>

In this example, just like before, replace 'your-image-url.jpg' with the link to your actual image. The button will have the background image and you can customize the other styles as needed.

👩‍💻 how do you add more than one class

🤖 SheCodes Athena says:

Answered in 6.87 seconds

To add more than one class to an HTML element, you can simply list the class names within the class attribute, separated by spaces. Here's an example:

html
Copy code
<!DOCTYPE html> <html lang="en"> <head> <title>Button with Multiple Classes</title> <style> .image-button { background-image: url('your-image-url.jpg'); /* Replace with your image URL */ background-size: cover; /* This makes the image cover the whole button */ color: white; /* Text color */ padding: 10px 20px; /* Button padding */ border: none; /* No border */ cursor: pointer; /* Cursor changes to pointer */ font-size: 16px; /* Font size */ } .rounded { border-radius: 10px; /* Makes the button corners rounded */ } .large { font-size: 20px; /* Increases the font size */ } </style> </head> <body> <button class="image-button rounded large">Click Me!</button> </body> </html>

In this example, the button has three classes: image-button, rounded, and large. Each class applies its styles to the button, giving it a background image, rounded corners, and larger text size. Just add more class names in the class attribute as needed!

👩‍💻 how to turn a word green

🤖 SheCodes Athena says:

Answered in 2.75 seconds

To turn a word green in HTML using CSS, you can use the color property. Here's a simple example:

html
Copy code
<!DOCTYPE html> <html lang="en"> <head> <title>Change Text Color</title> <style> .green-text { color: green; /* Sets the text color to green */ } </style> </head> <body> <p class="green-text">This word is green!</p> </body> </html>

In this example, the text "This word is green!" will appear in green. You can change the word or the text as you like by modifying the content inside the <p> tags.

👩‍💻 but its a link

🤖 SheCodes Athena says:

Answered in 5.16 seconds

To turn a link green, you can apply the same CSS color property to an anchor (<a>) tag. Here’s how you can do it:

html
Copy code
<!DOCTYPE html> <html lang="en"> <head> <title>Change Link Color</title> <style> .green-link { color: green; /* Sets the link color to green */ text-decoration: none; /* Removes the underline from the link (optional) */ } </style> </head> <body> <a href="#" class="green-link">This link is green!</a> </body> </html>

In this example, the text "This link is green!" will appear as a green link. You can replace the href="#" with the actual URL you want the link to point to.

👩‍💻 how do I make an emoji apear if they click a link

🤖 SheCodes Athena says:

Answered in 6.56 seconds

You can make an emoji appear when someone clicks a link by using JavaScript. Here’s a simple example that shows how to do this:

html
Copy code
<!DOCTYPE html> <html lang="en"> <head> <title>Emoji on Link Click</title> <style> .emoji { font-size: 2em; /* Adjust the emoji size */ display: none; /* Hide the emoji initially */ } </style> </head> <body> <a href="#" id="emojiLink">Click here for an emoji!</a> <div id="emoji" class="emoji">😊</div> <script> document.getElementById('emojiLink').addEventListener('click', function(event) { event.preventDefault(); // Prevent the default link behavior document.getElementById('emoji').style.display = 'block'; // Show the emoji }); </script> </body> </html>

In this example:

  1. There is a link that says "Click here for an emoji!".
  2. When clicked, it shows the emoji 😊 below the link.
  3. The event.preventDefault(); prevents the link from navigating away.

You can replace the emoji in the <div> with any emoji you like!

👩‍💻 how do i make is so people can have an account for my website

🤖 SheCodes Athena says:

Answered in 17.19 seconds

Creating a system for users to have accounts on your website generally involves several components, including user registration, login functionality, and secure data storage. While the complete setup can be complex, here's a simplified overview of how you might implement a basic user registration and login system using HTML, CSS, and JavaScript for the front end, along with a backend service (like Node.js, PHP, or a web service) to handle the data.

1. Frontend (HTML, CSS, JavaScript)

You would create forms for user registration and login. Here’s a basic example:

html
Copy code
<!DOCTYPE html> <html lang="en"> <head> <title>User Account System</title> <style> .form-container { max-width: 300px; margin: auto; } </style> </head> <body> <div class="form-container"> <h2>Register</h2> <form id="registerForm"> <input type="text" id="username" placeholder="Username" required><br> <input type="password" id="password" placeholder="Password" required><br> <button type="submit">Register</button> </form> <h2>Login</h2> <form id="loginForm"> <input type="text" id="loginUsername" placeholder="Username" required><br> <input type="password" id="loginPassword" placeholder="Password" required><br> <button type="submit">Login</button> </form> </div> <script> document.getElementById('registerForm').addEventListener('submit', function(event) { event.preventDefault(); // Prevent the default form submission // Get user data const username = document.getElementById('username').value; const password = document.getElementById('password').value; // Here you would typically send the data to your server console.log('User registered:', username, password); // Clear form event.target.reset(); }); document.getElementById('loginForm').addEventListener('submit', function(event) { event.preventDefault(); // Prevent the default form submission // Get user data const username = document.getElementById('loginUsername').value; const password = document.getElementById('loginPassword').value; // Here you would typically send the data to your server for authentication console.log('User logged in:', username, password); // Clear form event.target.reset(); }); </script> </body> </html>

2. Backend

You'll need a backend to store user data safely and handle login processes. Common practices include:

  • Using a database (like MySQL, MongoDB, etc.) to store user credentials securely (hashing passwords).
  • Setting up routes to accept user registration and login requests.
  • Sending responses back to the frontend.

For example, if you were using Node.js with Express, you might have routes like:

javascript
Copy code
app.post('/register', (req, res) => { // Hash password and save user to the database }); app.post('/login', (req, res) => { // Check username and password against the database });

3. Security

Make sure to implement security best practices, such as:

  • Validating and sanitizing user inputs.
  • Hashing passwords before storing them using libraries like bcrypt.
  • Implementing sessions or tokens for logged-in users to keep them authenticated.

Summary

While this example gives you a starting point, building a complete user account system requires more in-depth knowledge of backend development and security practices. You may want to explore frameworks or platforms that simplify user management, such as Firebase Authentication for easier user account systems.

👩‍💻 Technical question

Asked 2 days ago in CSS by Funmilayo

what is font weight

🤖 SheCodes Athena says:

Answered in 2.77 seconds

Font weight refers to the thickness of the characters in a font. It determines how bold or light the text appears. In CSS (Cascading Style Sheets), you can adjust the font weight using the font-weight property.

Here’s a simple example:

css
Copy code
h1 { font-weight: bold; /* Makes the text bold */ } p { font-weight: 300; /* A lighter weight */ }

You can use different values like normal, bold, or numbers ranging from 100 to 900. The higher the number, the bolder the text will be. You can find more about it here: CSS font-weight.

👩‍💻 How do i write it

🤖 SheCodes Athena says:

Answered in 3.78 seconds

It looks like you're asking how to write code for font weight in CSS. Here’s a simple example:

html
Copy code
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Font Weight Example</title> <style> h1 { font-weight: bold; /* Makes the heading bold */ } p { font-weight: 300; /* Makes the paragraph text lighter */ } </style> </head> <body> <h1>This is a Heading</h1> <p>This is a paragraph with lighter text.</p> </body> </html>

In this example, the heading (h1) will appear bold, while the paragraph (p) will have a lighter weight. You can adjust the font-weight values as needed!

👩‍💻 How to make h1 font weight light

🤖 SheCodes Athena says:

Answered in 3.54 seconds

To make the h1 font weight light, you can use a CSS rule that sets the font-weight property to a lighter value. Here's an example:

html
Copy code
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Light Font Weight Example</title> <style> h1 { font-weight: 300; /* Sets the font weight to light */ } </style> </head> <body> <h1>This is a Light Heading</h1> </body> </html>

In the example above, the font-weight of the h1 is set to 300, which typically represents a light font weight. You can adjust this value if your font supports different weights.

👩‍💻 Technical question

Asked 2 days ago in CSS by Nicole

how can I have empty spaces between a link and a text within a paragraph in a flexbox

🤖 SheCodes Athena says:

Answered in 3.25 seconds

You can add empty spaces between a link and text within a paragraph in a flexbox by using margin or padding properties in your CSS. Here’s a simple example:

html
Copy code
<div class="container"> <p> This is some text <a href="#" class="link">with a link</a> and some more text. </p> </div>
css
Copy code
.container { display: flex; } .link { margin: 0 10px; /* Adjust the space by changing the 10px value */ }

In this example, I've added margin: 0 10px; to the link class. This creates space both to the left and right of the link. You can adjust the 10px value to make the space larger or smaller, depending on your needs.

For more details about Flexbox, you can check this Flexbox guide.

👩‍💻 Technical question

Asked 2 days ago in CSS by Alexander

How to make my image in same sizes even they have different ratio

🤖 SheCodes Athena says:

Answered in 3.4 seconds

To make images the same size even if they have different aspect ratios, you can use the CSS object-fit property to control how the images fit into their containers. You can set a fixed width and height for the images, and use object-fit: cover; or object-fit: contain; to adjust how the images are displayed.

Here's an example in CSS:

css
Copy code
img { width: 200px; /* Set the desired width */ height: 200px; /* Set the desired height */ object-fit: cover; /* Adjusts the image to fill the container */ }

In your HTML, you would use it like this:

html
Copy code
<img src="image1.jpg" alt="Image 1"> <img src="image2.jpg" alt="Image 2">

With this setup, all images will have the same width and height, and they will be resized appropriately while keeping their aspect ratios. You can choose cover to fill the space completely or contain to make sure the entire image fits within the box.

For a detailed explanation, you can check the MDN Web Docs.

👩‍💻 HTML, CSS and JavaScript Code instructions

Asked 2 days ago in CSS by Angelica

how do i make a sticky navbar background white and rounded

🤖 SheCodes Athena says:

Answered in 10.33 seconds

To create a sticky navbar with a white background and rounded corners, you can use the following HTML, CSS, and JavaScript code.

html
Copy code
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Sticky Navbar Example</title> <link rel="stylesheet" href="styles.css"> </head> <body> <div class="navbar" id="navbar"> <h1>My Website</h1> <ul> <li><a href="#home">Home</a></li> <li><a href="#about">About</a></li> <li><a href="#services">Services</a></li> <li><a href="#contact">Contact</a></li> </ul> </div> <div class="content"> <h2 id="home">Home Section</h2> <p>Content goes here...</p> <h2 id="about">About Section</h2> <p>Content goes here...</p> <h2 id="services">Services Section</h2> <p>Content goes here...</p> <h2 id="contact">Contact Section</h2> <p>Content goes here...</p> </div> <script src="script.js"></script> </body> </html>
css
Copy code
/* styles.css */ body { font-family: Arial, sans-serif; margin: 0; padding: 0; } .navbar { background-color: white; padding: 15px 20px; position: sticky; top: 0; width: 100%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); border-radius: 10px; /* Rounded corners */ transition: background-color 0.3s; } .navbar ul { list-style-type: none; margin: 0; padding: 0; display: flex; } .navbar li { margin: 0 15px; } .navbar a { text-decoration: none; color: black; font-weight: bold; } .content { padding: 20px; }
javascript
Copy code
// script.js // Optional: Change background color on scroll window.onscroll = function() { var navbar = document.getElementById("navbar"); if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) { navbar.style.backgroundColor = "rgba(255, 255, 255, 0.9)"; } else { navbar.style.backgroundColor = "white"; } };

This code sets up a sticky navbar that remains at the top of your page when scrolling. The navbar has a white background and rounded corners, and it also changes its opacity slightly when you scroll down the page.

👩‍💻 Technical question

Asked 2 days ago in CSS by Krystle

how to center a button in css

🤖 SheCodes Athena says:

Answered in 5.08 seconds

To center a button in CSS, you can use the following code. This will center it horizontally within its parent container.

Here's an example using a <button> element:

css
Copy code
.button { display: block; /* Make it a block element */ margin: 0 auto; /* Auto margin on left and right */ }

And your HTML would look like this:

html
Copy code
<button class="button">Click Me!</button>

In this example, by setting display: block and margin: 0 auto, the button will be centered within the container. If you want to center it vertically as well, you need to set the height of the parent container and use flexbox:

css
Copy code
.parent { display: flex; /* Use flexbox */ justify-content: center; /* Center horizontally */ align-items: center; /* Center vertically */ height: 100vh; /* Full height of the viewport */ }

And your HTML:

html
Copy code
<div class="parent"> <button class="button">Click Me!</button> </div>

This will center the button both horizontally and vertically within the parent div.

👩‍💻 how do we increase the size of the button in css

🤖 SheCodes Athena says:

Answered in 3.05 seconds

To increase the size of a button in CSS, you can adjust its width, height, padding, and font size. Here’s an example of how to do this:

css
Copy code
.button { width: 200px; /* Set the width of the button */ height: 50px; /* Set the height of the button */ font-size: 20px; /* Increase the font size */ padding: 10px 15px; /* Add padding around the text */ }

And your HTML would look like this:

html
Copy code
<button class="button">Click Me!</button>

In this example, changing the width, height, and font-size will make the button larger. Adjusting the padding can also help to create more space around the text within the button, making it appear bigger. You can modify the pixel values to achieve your desired size.

👩‍💻 and the color of the button in css

🤖 SheCodes Athena says:

Answered in 8.48 seconds

To change the color of a button in CSS, you can use the background-color property for the button's background and the color property for the text color. Here's an example:

css
Copy code
.button { background-color: #4CAF50; /* Green background */ color: white; /* White text */ border: none; /* No border */ padding: 10px 15px; /* Padding around the text */ text-align: center; /* Center text */ text-decoration: none; /* No underline */ display: inline-block; /* Make it inline-block */ font-size: 16px; /* Font size */ cursor: pointer; /* Pointer cursor on hover */ }

And your HTML would look like this:

html
Copy code
<button class="button">Click Me!</button>

In this example, background-color sets the button's background color to green, and color sets the text color to white. You can change the color values (like #4CAF50) to any color you like, either using color names, hex codes, or RGB values.

👩‍💻 Technical question

Asked 3 days ago in CSS by Kätlin

how to make images have a special effect only on one page

🤖 SheCodes Athena says:

Answered in 5.76 seconds

To apply a special effect to images on only one page using JavaScript and CSS, you can follow these steps:

  1. Choose Your Effect: Decide what special effect you want (e.g., grayscale, blur, etc.).

  2. Use CSS for the Effect: Define the effect in CSS.

  3. Target the Images on One Page: Use a specific class or ID that is only present on the page where you want the effect.

Here’s an example where we apply a grayscale effect to images on a specific page:

html
Copy code
<!-- Example HTML --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Special Effect Example</title> <link rel="stylesheet" href="styles.css"> </head> <body> <div class="special-page"> <img src="image1.jpg" alt="Image 1"> <img src="image2.jpg" alt="Image 2"> </div> <script src="script.js"></script> </body> </html>
css
Copy code
/* styles.css */ .special-page img { filter: grayscale(100%); transition: filter 0.3s; } .special-page img:hover { filter: grayscale(0%); }
javascript
Copy code
// script.js // If you want to add more dynamic effects, you can use JavaScript. // This example is just to show the integration with CSS.

In this example, all images inside the .special-page class will be in grayscale when the page loads and will become colorful when you hover over them. You can adjust the effect as needed.

Make sure to only include the .special-page class in your HTML of that specific page so that the effect is only applied there.

👩‍💻 Technical question

Asked 3 days ago in CSS by Kätlin

how to make an image highlight when you hover over it

🤖 SheCodes Athena says:

Answered in 4.45 seconds

You can achieve an image highlight effect on hover using CSS. Here's a simple example:

html
Copy code
<!DOCTYPE html> <html> <head> <style> img { width: 300px; /* Set a width for the image */ transition: transform 0.3s; /* Smooth transition */ } img:hover { transform: scale(1.1); /* Scale the image to make it larger */ } </style> </head> <body> <img src="your-image-url.jpg" alt="Image"> </body> </html>

In this example:

  • The img selector styles the image and sets the size.
  • The transition property is used to smooth the scaling effect.
  • The img:hover selector defines what happens when you hover over the image, making it scale up slightly.

You can replace "your-image-url.jpg" with the actual URL of your image. This will create a nice hover effect!

👩‍💻 Technical question

Asked 3 days ago in CSS by Kätlin

how to change the size of an image

👩‍💻 Technical question

Asked 3 days ago in CSS by Moisha

How to share an image background and a color background,one at the top and the other at the bottom

👩‍💻 Technical question

Asked 3 days ago in CSS by Moisha

how to have two seperate backgrounds in css

👩‍💻 Technical question

Asked 4 days ago in CSS by Minentle

css make horizontal list

👩‍💻 Technical question

Asked 25 days ago in CSS by Rajat

What is flex wrap property in CSS

👩‍💻 Technical question

how to underline text in css

👩‍💻 Technical question

Asked 5 months ago in CSS by Mystic

Explain rem, px and em

👩‍💻 Technical question

how to add css to html

👩‍💻 Technical question

Asked 9 months ago in CSS by Charllotte

how do i underline in css

👩‍💻 Technical question

what is the meaning of this santance transform:translate(-50%,-50%)

👩‍💻 Technical question

Asked 9 months ago in CSS by Jessica

how do i move my title closer to the top of my page

👩‍💻 Technical question

Asked 9 months ago in CSS by Chivimbiso

why can't the contact details align to the center?

👩‍💻 Technical question

Asked 9 months ago in CSS by Hasania

write me a code that when customer hovers above a element the color changes

👩‍💻 HTML, CSS and JavaScript Code instructions

Code to format mobile view size and desktop view size

👩‍💻 Technical question

Asked 1 year ago in CSS by Marie

How can I add a comment in css?

👩‍💻 Technical question

Asked 1 year ago in CSS by Modupe

What is line height used for

👩‍💻 Technical question

Asked 1 year ago in CSS by Pogiso Pamla

how to reduce a the <hr> line

👩‍💻 Technical question

Asked 1 year ago in CSS by Shalom

make font weight thin css

👩‍💻 Technical question

Asked 1 year ago in CSS by Ани

Can I hide a paragraph under an image?

👩‍💻 Technical question

Asked 1 year ago in CSS by Kenya

How can I increase the size of a div in my code?

👩‍💻 Technical question

Asked 1 year ago in CSS by Margaret

what css code that can make the text curve like a smile?

👩‍💻 Technical question

Asked 1 year ago in CSS by Peter

How do you make images smaller to fit page

👩‍💻 Technical question

Asked 1 year ago in CSS by Peter

How do you move text to center

👩‍💻 Technical question

mixins examples sass

👩‍💻 Technical question

Asked 1 year ago in CSS by cathrine

how to underline the h1 in css

👩‍💻 Technical question

Asked 1 year ago in CSS by Memory

what is line-height

👩‍💻 Technical question

Asked 1 year ago in CSS by Esmee

how to get an a element to underline when hovered over

👩‍💻 Technical question

Asked over 1 year ago in CSS by Nondumiso

how to add css gradient

👩‍💻 Technical question

how could i make the backgorund have little stars or specs on it

👩‍💻 Technical question

Asked over 1 year ago in CSS by PATRICIA

how to make sure the content doesnt get out on the DIV

👩‍💻 Technical question

my heading (h1) is gold. how do i add a think black text outline

👩‍💻 Technical question

how do i get my pics to be in the same line with the same size proportions?

👩‍💻 CSS Code instructions

how to order a list vertically

👩‍💻 Technical question

how to get text to appear when hovering over div

👩‍💻 Technical question

how to make animated social madia icon

👩‍💻 Technical question

Asked over 1 year ago in CSS by Kristina

how to get a hover transition for background element

👩‍💻 Technical question

Asked over 1 year ago in CSS by Kristina

how do you get a hover for a background but not a button

👩‍💻 Technical question

Asked over 1 year ago in CSS by Leyla Maria

how to center a span?