CSS-phỏng vấn-câu hỏi github

Để tạo bảng có sọc vằn, hãy sử dụng bộ chọn nth-child() và thêm màu nền cho tất cả các hàng của bảng chẵn (hoặc lẻ)

Show

tr:nth-child(even) {
    background-color: #f2f2f2
}

Bản thử trực tiếp. ngựa vằn sọc

↥ về đầu trang

Q. Những yếu tố nào sẽ phù hợp với từng bộ chọn CSS sau đây?

  • div,
    >
    <html>
      <head>
        <title>CSS Combinatortitle>
        <style>
            div + p {
                background-color: yellow;
            }
        style>
      head>
    <body>
        <div>
            <h2>My name is Donaldh2>
            <p>I live in Duckburg.p>
        div>
    
        <p>My best friend is Mickey.p>
        <p>I will not be styled.p>
    body>
    html>
    5 Chọn tất cả các phần tử
    >
    <html>
      <head>
        <title>CSS Combinatortitle>
        <style>
            div + p {
                background-color: yellow;
            }
        style>
      head>
    <body>
        <div>
            <h2>My name is Donaldh2>
            <p>I live in Duckburg.p>
        div>
    
        <p>My best friend is Mickey.p>
        <p>I will not be styled.p>
    body>
    html>
    6 và tất cả

    yếu tố

  • div
    >
    <html>
      <head>
        <title>CSS Combinatortitle>
        <style>
            div + p {
                background-color: yellow;
            }
        style>
      head>
    <body>
        <div>
            <h2>My name is Donaldh2>
            <p>I live in Duckburg.p>
        div>
    
        <p>My best friend is Mickey.p>
        <p>I will not be styled.p>
    body>
    html>
    5 Chọn tất cả các phần tử
    >
    <html>
      <head>
        <title>CSS Combinatortitle>
        <style>
            div + p {
                background-color: yellow;
            }
        style>
      head>
    <body>
        <div>
            <h2>My name is Donaldh2>
            <p>I live in Duckburg.p>
        div>
    
        <p>My best friend is Mickey.p>
        <p>I will not be styled.p>
    body>
    html>
    8 ở bất kỳ đâu bên trong một

    thành phần

  • div >
    >
    <html>
      <head>
        <title>CSS Combinatortitle>
        <style>
            div + p {
                background-color: yellow;
            }
        style>
      head>
    <body>
        <div>
            <h2>My name is Donaldh2>
            <p>I live in Duckburg.p>
        div>
    
        <p>My best friend is Mickey.p>
        <p>I will not be styled.p>
    body>
    html>
    5 Chọn tất cả các phần tử
    >
    <html>
      <head>
        <title>CSS Combinatortitle>
        <style>
            div + p {
                background-color: yellow;
            }
        style>
      head>
    <body>
        <div>
            <h2>My name is Donaldh2>
            <p>I live in Duckburg.p>
        div>
    
        <p>My best friend is Mickey.p>
        <p>I will not be styled.p>
    body>
    html>
    8 trong đó phần tử cha trực tiếp là một

    thành phần

  • div +
    >
    <html>
      <head>
        <title>CSS Combinatortitle>
        <style>
            div + p {
                background-color: yellow;
            }
        style>
      head>
    <body>
        <div>
            <h2>My name is Donaldh2>
            <p>I live in Duckburg.p>
        div>
    
        <p>My best friend is Mickey.p>
        <p>I will not be styled.p>
    body>
    html>
    5 Chọn tất cả các phần tử
    >
    <html>
      <head>
        <title>CSS Combinatortitle>
        <style>
            div + p {
                background-color: yellow;
            }
        style>
      head>
    <body>
        <div>
            <h2>My name is Donaldh2>
            <p>I live in Duckburg.p>
        div>
    
        <p>My best friend is Mickey.p>
        <p>I will not be styled.p>
    body>
    html>
    8 được đặt ngay sau một

    thành phần

  • div ~
    >
    <html>
      <head>
        <title>CSS Combinatortitle>
        <style>
            div + p {
                background-color: yellow;
            }
        style>
      head>
    <body>
        <div>
            <h2>My name is Donaldh2>
            <p>I live in Duckburg.p>
        div>
    
        <p>My best friend is Mickey.p>
        <p>I will not be styled.p>
    body>
    html>
    5 Chọn tất cả các phần tử
    >
    <html>
      <head>
        <title>CSS Combinatortitle>
        <style>
            div + p {
                background-color: yellow;
            }
        style>
      head>
    <body>
        <div>
            <h2>My name is Donaldh2>
            <p>I live in Duckburg.p>
        div>
    
        <p>My best friend is Mickey.p>
        <p>I will not be styled.p>
    body>
    html>
    8 ở bất kỳ đâu trước dấu

    thành phần

↥ về đầu trang

Q. Làm cách nào để căn chỉnh hình ảnh theo chiều dọc trong một phần kéo dài theo chiều dọc trên toàn bộ trang web?

Bạn có thể căn giữa hình ảnh theo chiều dọc bên trong

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
6 bằng cách sử dụng thuộc tính vertical-align của CSS kết hợp với
>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
26 trên phần tử div chứa

Ngoài ra, do thuộc tính lề CSS không áp dụng cho các phần tử

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
26, nên chúng tôi đã bọc DIV chứa bằng một DIV khác (
>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
28) và áp dụng lề cho nó. Giải pháp này sẽ hoạt động ngay cả đối với hình ảnh có chiều cao lớn hơn chứa DIV

Ví dụ

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
5

Bản thử trực tiếp. Thuộc tính căn dọc CSS

↥ về đầu trang

Q. Làm cách nào để tạo kiểu cho mọi phần tử có mục liền kề ngay trước nó?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>

Bản thử trực tiếp. Trình kết hợp CSS

↥ về đầu trang

Q. Viết ra một bộ chọn sẽ khớp với bất kỳ liên kết nào kết thúc bằng. khóa kéo,. ZIP,. Zip, v.v.

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
29 Đại diện cho một phần tử có thuộc tính att có giá trị kết thúc bằng hậu tố “val”. Nếu “val” là chuỗi trống thì bộ chọn không đại diện cho bất cứ thứ gì

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
2

↥ về đầu trang

Q. Đặt div ở góc trên bên phải của trang?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
9

Bản thử trực tiếp. Vị trí CSS

↥ về đầu trang

Q. Bạn có 3 div. Bạn phải căn chỉnh div đầu tiên ở bên phải và 2 div khác ở bên trái. Viết CSS để đạt được điều này?

sử dụng flexbox

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
00

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
01

Bản thử trực tiếp. Ví dụ hộp linh hoạt

↥ về đầu trang

Q. Ví dụ về truy vấn phương tiện CSS

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
02

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
03

Bản thử trực tiếp. Truy vấn phương tiện CSS

↥ về đầu trang

Q. Ví dụ về mã css độ mờ xám màu nền CSS

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
04

Bản thử trực tiếp. Độ mờ CSS

↥ về đầu trang

Q. Đặt tiêu đề ở dưới cùng của div

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
05

↥ về đầu trang

Q. Ví dụ về độ dốc CSS

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
06

Bản thử trực tiếp. Độ dốc CSS

↥ về đầu trang

Q. Cách tạo ảnh nền cố định trong css

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
07

Bản thử trực tiếp. Nền cố định CSS

↥ về đầu trang

Q. Thêm khoảng cách giữa các mục linh hoạt

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
08

Bản thử trực tiếp. Không gian hộp linh hoạt

↥ về đầu trang

Q. Làm cách nào để tắt mũi tên từ số loại đầu vào?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
09

Bản thử trực tiếp. Trường nhập số

↥ về đầu trang

Q. Làm cách nào để lấy văn bản để bắt đầu một dòng mới?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
00

Bản thử trực tiếp. gói từ CSS

↥ về đầu trang

Q. Làm cách nào để chọn phần tử con trong css?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
01

Bản thử trực tiếp. CSS chọn phần tử con

↥ về đầu trang

Q. minmax với lưới css lặp lại

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
02

Bản thử trực tiếp. CSS lưới-mẫu-cột

↥ về đầu trang

Q. Làm cách nào để làm cho văn bản không thể chọn được trong css?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
03

Bản thử trực tiếp. Văn bản không thể chọn

↥ về đầu trang

Q. Tâm bọc con flex?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
04

Bản thử trực tiếp. uốn dẻo trẻ em

↥ về đầu trang

Q. Tạo một nút góc tròn bằng css?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
05

Bản thử trực tiếp. Nút Góc Tròn

↥ về đầu trang

Q. Cách áp dụng độ mờ trong ảnh nền

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
06

Bản thử trực tiếp. làm mờ nền ảnh

↥ về đầu trang

Q. Dấu chấm lửng tràn văn bản CSS nhiều dòng

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
07

Bản thử trực tiếp. Dấu chấm lửng tràn văn bản CSS

↥ về đầu trang

Q. Cách đặt nút cố định ở góc dưới bên phải màn hình trong html

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
08

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
09

Bản thử trực tiếp. nút cố định

↥ về đầu trang

Q. Làm cách nào để đặt div ở giữa và giữa trang?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
00

Bản thử trực tiếp. div trung tâm

↥ về đầu trang

Q. Sass @extend và Kế thừa

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
01

Bản thử trực tiếp. Sass @extend

↥ về đầu trang

Q. Làm cách nào để tạo css fade in?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
02

Bản thử trực tiếp. tăng dần CSS

↥ về đầu trang

Q. Làm cách nào để đọc thuộc tính với thuộc tính dữ liệu?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
03

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
04

Bản thử trực tiếp. Thuộc tính dữ liệu CSS

↥ về đầu trang

Q. Làm cách nào để xóa phần tô sáng của nút khi nhấp bằng CSS?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
05

Bản thử trực tiếp. phác thảo CSS

↥ về đầu trang

Q. Cách chọn con thứ n cuối cùng

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
06

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
07

Bản thử trực tiếp. CSS nth-last-child()

↥ về đầu trang

Q. Tôi có thể gọi mixin bằng html không?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
08

Bản thử trực tiếp. SASS @mixin()

↥ về đầu trang

Q. Làm cách nào để xoay văn bản bằng CSS?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
09

Bản thử trực tiếp. CSS xoay()

↥ về đầu trang

Q. Làm cách nào để làm cho văn bản nhấp nháy bằng css?**

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
00

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
01

Bản thử trực tiếp. Hoạt hình CSS

↥ về đầu trang

Q. Làm cách nào để sửa thanh điều hướng lên đầu bằng CSS?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
02

Bản thử trực tiếp. Sticky/Affix Navbar

↥ về đầu trang

Q. Làm cách nào để thay đổi màu đường viền đầu vào khi được chọn?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
03

Bản thử trực tiếp. tiêu điểm CSS

↥ về đầu trang

Q. Làm cách nào để nhập phông chữ otf trong CSS?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
04

Bản thử trực tiếp. CSS @ phông chữ

↥ về đầu trang

Q. Tạo bóng ảnh bằng CSS?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
05

Bản thử trực tiếp. bóng hộp CSS

↥ về đầu trang

Q. Làm cách nào để tạo mệnh đề if-else trong SASS?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
06

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
07

↥ về đầu trang

Q. Làm cách nào để tắt di chuột trong css?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
08

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
09

Bản thử trực tiếp. Sự kiện con trỏ CSS

↥ về đầu trang

Q. Hoạt hình CSS

Điều nào sau đây sẽ tạo ra hình ảnh động dưới đây?

tr:nth-child(even) {
    background-color: #f2f2f2
}
0

CSS-phỏng vấn-câu hỏi github

Chọn MỘT HOẶC NHIỀU lựa chọn

tr:nth-child(even) {
    background-color: #f2f2f2
}
1

Câu trả lời

tr:nth-child(even) {
    background-color: #f2f2f2
}
2

tr:nth-child(even) {
    background-color: #f2f2f2
}
3

⚝ Hãy thử ví dụ này trên CodeSandbox

↥ về đầu trang

Q. phù hợp với đối tượng CSS

Điều nào sau đây là đúng về thuộc tính CSS 'phù hợp với đối tượng'?

Chọn MỘT HOẶC NHIỀU lựa chọn

tr:nth-child(even) {
    background-color: #f2f2f2
}
4

Câu trả lời

tr:nth-child(even) {
    background-color: #f2f2f2
}
5

⚝ Hãy thử ví dụ này trên CodeSandbox

↥ về đầu trang

Q. Dấu chấm lửng CSS

Nếu một phần tử vượt quá chiều rộng được phân bổ, làm cách nào để bạn cắt ngắn câu bằng dấu chấm lửng (. ) bằng CSS?

Ví dụ, "Xin chào. Tôi là một phần tử và chiều rộng của tôi lớn hơn vùng chứa. "

Chọn MỘT HOẶC NHIỀU lựa chọn

tr:nth-child(even) {
    background-color: #f2f2f2
}
6

Câu trả lời

tr:nth-child(even) {
    background-color: #f2f2f2
}
7

⚝ Hãy thử ví dụ này trên CodeSandbox

↥ về đầu trang

Q. Tô màu văn bản CSS

Điều nào sau đây làm cho văn bản có màu đỏ?

tr:nth-child(even) {
    background-color: #f2f2f2
}
8

Chọn MỘT HOẶC NHIỀU lựa chọn

tr:nth-child(even) {
    background-color: #f2f2f2
}
9

Câu trả lời

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
50

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
51

⚝ Hãy thử ví dụ này trên CodeSandbox

↥ về đầu trang

Q. Lựa chọn CSS

Làm cách nào để ngăn người dùng chọn văn bản được hiển thị bên trong phần tử sau?

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
52

Chọn MỘT HOẶC NHIỀU lựa chọn

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
53

Câu trả lời

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
54

⚝ Hãy thử ví dụ này trên CodeSandbox

↥ về đầu trang

Q. Trình giữ chỗ đầu vào CSS

Làm cách nào để bạn ẩn văn bản "giữ chỗ" của trường

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
90?

Chọn MỘT HOẶC NHIỀU lựa chọn

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
55

Câu trả lời

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
56

>
<html>
  <head>
    <title>CSS Combinatortitle>
    <style>
        div + p {
            background-color: yellow;
        }
    style>
  head>
<body>
    <div>
        <h2>My name is Donaldh2>
        <p>I live in Duckburg.p>
    div>

    <p>My best friend is Mickey.p>
    <p>I will not be styled.p>
body>
html>
57

⚝ Hãy thử ví dụ này trên CodeSandbox

↥ về đầu trang

Q. Định tâm CSS

Tùy chọn nào sau đây có thể định vị div với tên lớp "con" chính xác ở giữa trang?

Câu hỏi phỏng vấn CSS là gì?

Câu hỏi phỏng vấn CSS hàng đầu .
Hình thức đầy đủ của CSS là gì?
Tại sao CSS được phát triển?
Các phiên bản chính của CSS là gì?
Bạn có thể tích hợp CSS vào trang HTML của mình theo những cách khác nhau nào?
Ý nghĩa của cascading là gì?.
Lợi ích của việc sử dụng CSS là gì?
Nhược điểm của việc sử dụng CSS là gì?

Câu hỏi phỏng vấn GitHub là gì?

Câu hỏi phỏng vấn Git cơ bản .
Git là gì?.
Bạn hiểu thuật ngữ 'Hệ thống kiểm soát phiên bản' là gì?.
GitHub là gì?.
Đề cập đến một số dịch vụ lưu trữ Git phổ biến. .
Các loại hệ thống kiểm soát phiên bản khác nhau. .
Những lợi ích đi kèm với việc sử dụng GIT?.
Sự khác biệt giữa Git và GitHub là gì?.
Kho lưu trữ Git là gì?

Câu hỏi phỏng vấn PHP là gì?

Câu hỏi phỏng vấn PHP cấp độ cơ bản .
Q1. Các ứng dụng phổ biến của PHP là gì?
quý 2. PEAR trong PHP là gì?
Q3. Sự khác biệt giữa các trang web tĩnh và động là gì?
Q4. Làm cách nào để thực thi tập lệnh PHP từ dòng lệnh?
Q5. PHP có phải là ngôn ngữ phân biệt chữ hoa chữ thường không?
Q6. Ý nghĩa của 'thoát sang PHP' là gì?
Q7. .

Câu hỏi phỏng vấn HTML là gì?

Câu hỏi phỏng vấn HTML .
2) Thẻ là gì?.
3) Tất cả các thẻ HTML đều có thẻ kết thúc?.
4) Định dạng trong HTML là gì?.
5) Một HTML chứa bao nhiêu loại tiêu đề?.
6) Làm thế nào để tạo một siêu liên kết trong HTML?.
7) Thẻ HTML nào dùng để hiển thị dữ liệu ở dạng bảng?