HTML+CSS:未来属于CSS

效果演示

32-未来属于CSS.gif

一个带有不同背景颜色的网格布局,其中一些元素可能会更大或者字体更大。

Code

<main>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="big"></div>
    <div></div>
    <div></div>
    <div>The</div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="extrabig"></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div>Future</div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="extrabig"></div>
    <div></div>
    <div></div>
    <div class="big"></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div>Belongs</div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="extrabig"></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div>to</div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="big"></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="big"></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="big"></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="superbig">CSS</div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="big"></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="extrabig"></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="big">Made with love,<br> CSS Grid,<br>A little flexbox,<br>Sass, and<br>position: sticky </div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="bigger"></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="bigger"></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</main>
main div:nth-child(1) {
    background: #609f26;
}

main div:nth-child(2) {
    background: #44ae4d;
}

main div:nth-child(3) {
    background: #3189f4;
}

main div:nth-child(4) {
    background: #72d7c6;
}

main div:nth-child(5) {
    background: #287ae0;
}

main div:nth-child(6) {
    background: #95ab10;
}

main div:nth-child(7) {
    background: #f36c62;
}

main div:nth-child(8) {
    background: #214347;
}

main div:nth-child(9) {
    background: #8dd25e;
}

main div:nth-child(10) {
    background: #633362;
}

main div:nth-child(11) {
    background: #2e2f51;
}

main div:nth-child(12) {
    background: #23cd08;
}

main div:nth-child(13) {
    background: #3f8d7f;
}

main div:nth-child(14) {
    background: #3e7e09;
}

main div:nth-child(15) {
    background: #329525;
}

main div:nth-child(16) {
    background: #bd3b4d;
}

main div:nth-child(17) {
    background: #cb6d80;
}

main div:nth-child(18) {
    background: #22c756;
}

main div:nth-child(19) {
    background: #a44e1a;
}

main div:nth-child(20) {
    background: #8a406f;
}

main div:nth-child(21) {
    background: #985273;
}

main div:nth-child(22) {
    background: #499681;
}

main div:nth-child(23) {
    background: #f441c6;
}

main div:nth-child(24) {
    background: #1d7c78;
}

main div:nth-child(25) {
    background: #172d75;
}

main div:nth-child(26) {
    background: #0676ee;
}

main div:nth-child(27) {
    background: #09d155;
}

main div:nth-child(28) {
    background: #d5fbe7;
}

main div:nth-child(29) {
    background: #0f3e73;
}

main div:nth-child(30) {
    background: #a3d1f0;
}

main div:nth-child(31) {
    background: #9771b4;
}

main div:nth-child(32) {
    background: #06dc25;
}

main div:nth-child(33) {
    background: #43e4b8;
}

main div:nth-child(34) {
    background: #bbb138;
}

main div:nth-child(35) {
    background: #b368b2;
}

main div:nth-child(36) {
    background: #0d5b3d;
}

main div:nth-child(37) {
    background: #a34e1c;
}

main div:nth-child(38) {
    background: #9b86b4;
}

main div:nth-child(39) {
    background: #e05322;
}

main div:nth-child(40) {
    background: #109e9e;
}

main div:nth-child(41) {
    background: #3495c2;
}

main div:nth-child(42) {
    background: #95fc29;
}

main div:nth-child(43) {
    background: #99bd29;
}

main div:nth-child(44) {
    background: #7e701c;
}

main div:nth-child(45) {
    background: #667dbc;
}

main div:nth-child(46) {
    background: #a63266;
}

main div:nth-child(47) {
    background: #5a8aa0;
}

main div:nth-child(48) {
    background: #5cb83b;
}

main div:nth-child(49) {
    background: #d292c8;
}

main div:nth-child(50) {
    background: #23dbed;
}

main div:nth-child(51) {
    background: #af140f;
}

main div:nth-child(52) {
    background: #d47368;
}

main div:nth-child(53) {
    background: #d838bc;
}

main div:nth-child(54) {
    background: #b65140;
}

main div:nth-child(55) {
    background: #583a5c;
}

main div:nth-child(56) {
    background: #cc4fb2;
}

main div:nth-child(57) {
    background: #1e92b3;
}

main div:nth-child(58) {
    background: #b4ed4b;
}

main div:nth-child(59) {
    background: #67c438;
}

main div:nth-child(60) {
    background: #a396ff;
}

main div:nth-child(61) {
    background: #330bb9;
}

main div:nth-child(62) {
    background: #1bb316;
}

main div:nth-child(63) {
    background: #49b36b;
}

main div:nth-child(64) {
    background: #ab9434;
}

main div:nth-child(65) {
    background: #16ddec;
}

main div:nth-child(66) {
    background: #e828e8;
}

main div:nth-child(67) {
    background: #4280ae;
}

main div:nth-child(68) {
    background: #1d1961;
}

main div:nth-child(69) {
    background: #694bab;
}

main div:nth-child(70) {
    background: #b657c0;
}

main div:nth-child(71) {
    background: #ed10c2;
}

main div:nth-child(72) {
    background: #b3208c;
}

main div:nth-child(73) {
    background: #95f3d1;
}

main div:nth-child(74) {
    background: #d3b28c;
}

main div:nth-child(75) {
    background: #7664d8;
}

main div:nth-child(76) {
    background: #6f7909;
}

main div:nth-child(77) {
    background: #ebb659;
}

main div:nth-child(78) {
    background: #39348f;
}

main div:nth-child(79) {
    background: #3a9fa5;
}

main div:nth-child(80) {
    background: #e1950f;
}

main div:nth-child(81) {
    background: #86d4ad;
}

main div:nth-child(82) {
    background: #a79a10;
}

main div:nth-child(83) {
    background: #44e664;
}

main div:nth-child(84) {
    background: #40b4f1;
}

main div:nth-child(85) {
    background: #5bb965;
}

main div:nth-child(86) {
    background: #3ef748;
}

main div:nth-child(87) {
    background: #7e3cad;
}

main div:nth-child(88) {
    background: #2ca6fc;
}

main div:nth-child(89) {
    background: #b2df12;
}

main div:nth-child(90) {
    background: #db231d;
}

main div:nth-child(91) {
    background: #07e252;
}

main div:nth-child(92) {
    background: #22f008;
}

main div:nth-child(93) {
    background: #46629f;
}

main div:nth-child(94) {
    background: #d42042;
}

main div:nth-child(95) {
    background: #6d1f0d;
}

main div:nth-child(96) {
    background: #39af16;
}

main div:nth-child(97) {
    background: #85a477;
}

main div:nth-child(98) {
    background: #fdc14f;
}

main div:nth-child(99) {
    background: #fb16e5;
}

main div:nth-child(100) {
    background: #14d982;
}

main div:nth-child(101) {
    background: #d1491a;
}

main div:nth-child(102) {
    background: #7406e1;
}

main div:nth-child(103) {
    background: #8c753f;
}

main div:nth-child(104) {
    background: #4a5643;
}

main div:nth-child(105) {
    background: #b20739;
}

main div:nth-child(106) {
    background: #b1e947;
}

main div:nth-child(107) {
    background: #ce6090;
}

main div:nth-child(108) {
    background: #106978;
}

main div:nth-child(109) {
    background: #ad623b;
}

main div:nth-child(110) {
    background: #e26c1d;
}

main div:nth-child(111) {
    background: #315a1f;
}

main div:nth-child(112) {
    background: #d4e099;
}

main div:nth-child(113) {
    background: #8dda17;
}

main div:nth-child(114) {
    background: #fc2b05;
}

main div:nth-child(115) {
    background: #63f2b0;
}

main div:nth-child(116) {
    background: #4f0ebb;
}

main div:nth-child(117) {
    background: #f61ade;
}

main div:nth-child(118) {
    background: #841d36;
}

main div:nth-child(119) {
    background: #463695;
}

main div:nth-child(120) {
    background: #dbbc66;
}

main div:nth-child(121) {
    background: #40ba09;
}

main div:nth-child(122) {
    background: #402f9c;
}

main div:nth-child(123) {
    background: #c76733;
}

main div:nth-child(124) {
    background: #e5aeff;
}

main div:nth-child(125) {
    background: #c413ac;
}

main div:nth-child(126) {
    background: #c4ac0e;
}

main div:nth-child(127) {
    background: #f4135a;
}

main div:nth-child(128) {
    background: #a63579;
}

main div:nth-child(129) {
    background: #eceed5;
}

main div:nth-child(130) {
    background: #ab5804;
}

main div:nth-child(131) {
    background: #c14fd9;
}

main div:nth-child(132) {
    background: #a350d5;
}

main div:nth-child(133) {
    background: #a3d0b5;
}

main div:nth-child(134) {
    background: #30be02;
}

main div:nth-child(135) {
    background: #69521b;
}

main div:nth-child(136) {
    background: #42434e;
}

main div:nth-child(137) {
    background: #fae3ba;
}

main div:nth-child(138) {
    background: #3dc977;
}

main div:nth-child(139) {
    background: #64bd93;
}

main div:nth-child(140) {
    background: #7f7b23;
}

main div:nth-child(141) {
    background: #4c4e60;
}

main div:nth-child(142) {
    background: #4289d5;
}

main div:nth-child(143) {
    background: #3eed75;
}

main div:nth-child(144) {
    background: #5b7b3c;
}

main div:nth-child(145) {
    background: #b481a1;
}

main div:nth-child(146) {
    background: #c3d136;
}

main div:nth-child(147) {
    background: #d501a7;
}

main div:nth-child(148) {
    background: #70a822;
}

main div:nth-child(149) {
    background: #592ad3;
}

main div:nth-child(150) {
    background: #38ad76;
}

main div:nth-child(151) {
    background: #781acb;
}

main div:nth-child(152) {
    background: #d13297;
}

main div:nth-child(153) {
    background: #71a0da;
}

main div:nth-child(154) {
    background: #87b22e;
}

main div:nth-child(155) {
    background: #8825fd;
}

main div:nth-child(156) {
    background: #29aba1;
}

main div:nth-child(157) {
    background: #09ecf9;
}

main div:nth-child(158) {
    background: #98bd01;
}

main div:nth-child(159) {
    background: #52d584;
}

main div:nth-child(160) {
    background: #415d07;
}

main div:nth-child(161) {
    background: #589d1a;
}

main div:nth-child(162) {
    background: #286d85;
}

main div:nth-child(163) {
    background: #07fc58;
}

main div:nth-child(164) {
    background: #26d167;
}

main div:nth-child(165) {
    background: #278111;
}

main div:nth-child(166) {
    background: #caacfd;
}

main div:nth-child(167) {
    background: #25252d;
}

main div:nth-child(168) {
    background: #477213;
}

main div:nth-child(169) {
    background: #9e3806;
}

main div:nth-child(170) {
    background: #de7efd;
}

main div:nth-child(171) {
    background: #74115b;
}

main div:nth-child(172) {
    background: #0c2d7e;
}

main div:nth-child(173) {
    background: #fe9da8;
}

main div:nth-child(174) {
    background: #0f5a93;
}

main div:nth-child(175) {
    background: #313f9f;
}

main div:nth-child(176) {
    background: #a74edc;
}

main div:nth-child(177) {
    background: #9b693b;
}

main div:nth-child(178) {
    background: #49fba0;
}

main div:nth-child(179) {
    background: #efda58;
}

main div:nth-child(180) {
    background: #013785;
}

main div:nth-child(181) {
    background: #5926c1;
}

main div:nth-child(182) {
    background: #59857f;
}

main div:nth-child(183) {
    background: #c46df0;
}

main div:nth-child(184) {
    background: #80700d;
}

main div:nth-child(185) {
    background: #41f093;
}

main div:nth-child(186) {
    background: #a3665b;
}

main div:nth-child(187) {
    background: #e1eb7f;
}

main div:nth-child(188) {
    background: #7c7a32;
}

main div:nth-child(189) {
    background: #f52028;
}

main div:nth-child(190) {
    background: #cc4184;
}

main div:nth-child(191) {
    background: #900e5e;
}

main div:nth-child(192) {
    background: #daa950;
}

main div:nth-child(193) {
    background: #7e238f;
}

main div:nth-child(194) {
    background: #e12f4a;
}

main div:nth-child(195) {
    background: #f3ab17;
}

main div:nth-child(196) {
    background: #fa2e33;
}

main div:nth-child(197) {
    background: #729ef2;
}

main div:nth-child(198) {
    background: #e33e70;
}

main div:nth-child(199) {
    background: #2922f4;
}

main div:nth-child(200) {
    background: #41f3e9;
}

main div:nth-child(201) {
    background: #952c17;
}

main div:nth-child(202) {
    background: #f4076d;
}

main div:nth-child(203) {
    background: #bae804;
}

main div:nth-child(204) {
    background: #a48792;
}

main div:nth-child(205) {
    background: #aa5cd8;
}

main div:nth-child(206) {
    background: #d570ed;
}

main div:nth-child(207) {
    background: #bc4c2a;
}

main div:nth-child(208) {
    background: #9c166d;
}

main div:nth-child(209) {
    background: #2a3262;
}

main div:nth-child(210) {
    background: #e1f7b8;
}

main div:nth-child(211) {
    background: #08a31f;
}

main div:nth-child(212) {
    background: #0e88c5;
}

main div:nth-child(213) {
    background: #1cfdd6;
}

main div:nth-child(214) {
    background: #f9eacb;
}

main div:nth-child(215) {
    background: #0687eb;
}

main div:nth-child(216) {
    background: #5c959c;
}

main div:nth-child(217) {
    background: #e689af;
}

main div:nth-child(218) {
    background: #a5af79;
}

main div:nth-child(219) {
    background: #0471af;
}

main div:nth-child(220) {
    background: #96708d;
}

main div:nth-child(221) {
    background: #b15a6a;
}

main div:nth-child(222) {
    background: #55ae28;
}

main div:nth-child(223) {
    background: #b6d9fe;
}

main div:nth-child(224) {
    background: #1946de;
}

main div:nth-child(225) {
    background: #3a878f;
}

main div:nth-child(226) {
    background: #df31f6;
}

main div:nth-child(227) {
    background: #507e13;
}

main div:nth-child(228) {
    background: #26a1be;
}

main div:nth-child(229) {
    background: #cc0af7;
}

main div:nth-child(230) {
    background: #6dee81;
}

main div:nth-child(231) {
    background: #265df0;
}

main div:nth-child(232) {
    background: #abe2c3;
}

main div:nth-child(233) {
    background: #9cef27;
}

main div:nth-child(234) {
    background: #1af9be;
}

main div:nth-child(235) {
    background: #f29a7b;
}

main div:nth-child(236) {
    background: #74312e;
}

main div:nth-child(237) {
    background: #9e10d4;
}

main div:nth-child(238) {
    background: #bb4297;
}

main div:nth-child(239) {
    background: #4b4e09;
}

main div:nth-child(240) {
    background: #b9a2a2;
}

main div:nth-child(241) {
    background: #123327;
}

main div:nth-child(242) {
    background: #d206a7;
}

main div:nth-child(243) {
    background: #e6e04c;
}

main div:nth-child(244) {
    background: #4e972a;
}

main div:nth-child(245) {
    background: #2043c6;
}

main div:nth-child(246) {
    background: #7389e6;
}

main div:nth-child(247) {
    background: #34f46e;
}

main div:nth-child(248) {
    background: #8cf5cc;
}

main div:nth-child(249) {
    background: #5690b0;
}

main div:nth-child(250) {
    background: #0d0bc5;
}

main div:nth-child(251) {
    background: #ac9fde;
}

main div:nth-child(252) {
    background: #26bac0;
}

main div:nth-child(253) {
    background: #a7e1d7;
}

main div:nth-child(254) {
    background: #8582aa;
}

main div:nth-child(255) {
    background: #7cb35c;
}

main div:nth-child(256) {
    background: #eb6c0f;
}

main div:nth-child(257) {
    background: #3523aa;
}

main div:nth-child(258) {
    background: #a2a7e4;
}

main div:nth-child(259) {
    background: #cc664c;
}

main div:nth-child(260) {
    background: #9911c7;
}

main div:nth-child(261) {
    background: #69652a;
}

main div:nth-child(262) {
    background: #372085;
}

main div:nth-child(263) {
    background: #84ace2;
}

main div:nth-child(264) {
    background: #d7a513;
}

main div:nth-child(265) {
    background: #7c23f5;
}

main div:nth-child(266) {
    background: #c6a8dd;
}

main div:nth-child(267) {
    background: #30f0c9;
}

main div:nth-child(268) {
    background: #0470f6;
}

main div:nth-child(269) {
    background: #d3f69a;
}

main div:nth-child(270) {
    background: #81629d;
}

main div:nth-child(271) {
    background: #bd59ed;
}

main div:nth-child(272) {
    background: #74bf40;
}

main div:nth-child(273) {
    background: #e5d49b;
}

main div:nth-child(274) {
    background: #99a664;
}

main div:nth-child(275) {
    background: #32f0ac;
}

main div:nth-child(276) {
    background: #378307;
}

main div:nth-child(277) {
    background: #d37665;
}

main div:nth-child(278) {
    background: #685c25;
}

main div:nth-child(279) {
    background: #084d99;
}

main div:nth-child(280) {
    background: #140d5a;
}

main div:nth-child(281) {
    background: #fe1164;
}

main div:nth-child(282) {
    background: #f1dc97;
}

main div:nth-child(283) {
    background: #0d4295;
}

main div:nth-child(284) {
    background: #5fa8e6;
}

main div:nth-child(285) {
    background: #b4b05c;
}

main div:nth-child(286) {
    background: #903e40;
}

main div:nth-child(287) {
    background: #0480ef;
}

main div:nth-child(288) {
    background: #54af6d;
}

main div:nth-child(289) {
    background: #41d2cf;
}

main div:nth-child(290) {
    background: #c689ac;
}

main div:nth-child(291) {
    background: #eff86e;
}

main div:nth-child(292) {
    background: #ff1a54;
}

main div:nth-child(293) {
    background: #293375;
}

main div:nth-child(294) {
    background: #d8d0f0;
}

main div:nth-child(295) {
    background: #afee95;
}

main div:nth-child(296) {
    background: #87af03;
}

main div:nth-child(297) {
    background: #f2027a;
}

main div:nth-child(298) {
    background: #132c50;
}

main div:nth-child(299) {
    background: #91b767;
}

main div:nth-child(300) {
    background: #105e5a;
}

main div:nth-child(301) {
    background: #dd62f3;
}

main div:nth-child(302) {
    background: #aad665;
}

main div:nth-child(303) {
    background: #b2529d;
}

main div:nth-child(304) {
    background: #ab6348;
}

main div:nth-child(305) {
    background: #c46db9;
}

main div:nth-child(306) {
    background: #87880e;
}

main div:nth-child(307) {
    background: #bddb0e;
}

main div:nth-child(308) {
    background: #575185;
}

main div:nth-child(309) {
    background: #66e3ec;
}

main div:nth-child(310) {
    background: #9f7111;
}

main div:nth-child(311) {
    background: #df4c5e;
}

main div:nth-child(312) {
    background: #e84d5a;
}

main div:nth-child(313) {
    background: #1e37e6;
}

main div:nth-child(314) {
    background: #e80aac;
}

main div:nth-child(315) {
    background: #3dd5ed;
}

main div:nth-child(316) {
    background: #bf10a7;
}

main div:nth-child(317) {
    background: #58c492;
}

main div:nth-child(318) {
    background: #59f87f;
}

main div:nth-child(319) {
    background: #c2f308;
}

main div:nth-child(320) {
    background: #95847d;
}

main div:nth-child(321) {
    background: #0469be;
}

main div:nth-child(322) {
    background: #9f9bd0;
}

main div:nth-child(323) {
    background: #526610;
}

main div:nth-child(324) {
    background: #e4a475;
}

main div:nth-child(325) {
    background: #c92c5b;
}

main div:nth-child(326) {
    background: #ff618f;
}

main div:nth-child(327) {
    background: #32ef62;
}

main div:nth-child(328) {
    background: #a62327;
}

main div:nth-child(329) {
    background: #a5b241;
}

main div:nth-child(330) {
    background: #bdcf50;
}

main div:nth-child(331) {
    background: #36598b;
}

main div:nth-child(332) {
    background: #4426c1;
}

main div:nth-child(333) {
    background: #52d20e;
}

main div:nth-child(334) {
    background: #789bd3;
}

main div:nth-child(335) {
    background: #1279d0;
}

main div:nth-child(336) {
    background: #683ffb;
}

main div:nth-child(337) {
    background: #2fc9ef;
}

main div:nth-child(338) {
    background: #802fe8;
}

main div:nth-child(339) {
    background: #f16c2e;
}

main div:nth-child(340) {
    background: #36e5b0;
}

main div:nth-child(341) {
    background: #b6c73d;
}

main div:nth-child(342) {
    background: #75a267;
}

main div:nth-child(343) {
    background: #b429ee;
}

main div:nth-child(344) {
    background: #d34fd5;
}

main div:nth-child(345) {
    background: #867f9b;
}

main div:nth-child(346) {
    background: #97c410;
}

main div:nth-child(347) {
    background: #eb999c;
}

main div:nth-child(348) {
    background: #3c1a7a;
}

main div:nth-child(349) {
    background: #46e271;
}

main div:nth-child(350) {
    background: #0ee773;
}

main div:nth-child(351) {
    background: #2f73e9;
}

main div:nth-child(352) {
    background: #a7ae90;
}

main div:nth-child(353) {
    background: #23abf5;
}

main div:nth-child(354) {
    background: #c8114e;
}

main div:nth-child(355) {
    background: #0cffc2;
}

main div:nth-child(356) {
    background: #061329;
}

main div:nth-child(357) {
    background: #1b6cef;
}

main div:nth-child(358) {
    background: #8d880e;
}

main div:nth-child(359) {
    background: #aa9acc;
}

main div:nth-child(360) {
    background: #99fbae;
}

main div:nth-child(361) {
    background: #3614cb;
}

main div:nth-child(362) {
    background: #501ee7;
}

main div:nth-child(363) {
    background: #17e3c3;
}

main div:nth-child(364) {
    background: #04a25d;
}

main div:nth-child(365) {
    background: #67590e;
}

main div:nth-child(366) {
    background: #437bb5;
}

main div:nth-child(367) {
    background: #0f6743;
}

main div:nth-child(368) {
    background: #79fb89;
}

main div:nth-child(369) {
    background: #8b2a57;
}

main div:nth-child(370) {
    background: #b80c6a;
}

main div:nth-child(371) {
    background: #faf7ae;
}

main div:nth-child(372) {
    background: #cb217c;
}

main div:nth-child(373) {
    background: #9d8be8;
}

main div:nth-child(374) {
    background: #7ea5fc;
}

main div:nth-child(375) {
    background: #e169f1;
}

main div:nth-child(376) {
    background: #322ac0;
}

main div:nth-child(377) {
    background: #32d725;
}

main div:nth-child(378) {
    background: #78f7a5;
}

main div:nth-child(379) {
    background: #452124;
}

main div:nth-child(380) {
    background: #2a0ce8;
}

main div:nth-child(381) {
    background: #264c35;
}

main div:nth-child(382) {
    background: #204b9a;
}

main div:nth-child(383) {
    background: #0caa27;
}

main div:nth-child(384) {
    background: #26bab2;
}

main div:nth-child(385) {
    background: #ddc0a1;
}

main div:nth-child(386) {
    background: #504eff;
}

main div:nth-child(387) {
    background: #de63cf;
}

main div:nth-child(388) {
    background: #e569ae;
}

main div:nth-child(389) {
    background: #27de9b;
}

main div:nth-child(390) {
    background: #482e8e;
}

main div:nth-child(391) {
    background: #8338cd;
}

main div:nth-child(392) {
    background: #208813;
}

main div:nth-child(393) {
    background: #d6e16d;
}

main div:nth-child(394) {
    background: #63e5a7;
}

main div:nth-child(395) {
    background: #bccd0e;
}

main div:nth-child(396) {
    background: #7e0305;
}

main div:nth-child(397) {
    background: #923938;
}

main div:nth-child(398) {
    background: #0fa906;
}

main div:nth-child(399) {
    background: #6807d3;
}

main div:nth-child(400) {
    background: #4a0d91;
}

/* 为每个 div 元素设置不同的背景颜色 */


body {
    margin: 1vw 0 0 1vw; /* 设置 body 元素的外边距 */
    color: white; /* 设置文字颜色为白色 */
    font-weight: bold; /* 设置文字加粗 */
    font-size: 40px; /* 设置文字大小为 40px */
    text-shadow: 1px 2px white; /* 设置文字阴影效果 */
}

main {
    width: 100%; /* 设置 main 元素宽度为 100% */
    margin: auto; /* 居中显示 */
    display: grid; /* 使用网格布局 */
    grid-template-columns: repeat(8, 1fr); /* 设置 8 列等宽 */
}

div {
    box-sizing: border-box; /* 设置盒模型为边框盒模型 */
    border-right: 1vw solid #fff; /* 设置右边框为 1vw 宽的白色实线 */
    border-bottom: 1vw solid #fff; /* 设置下边框为 1vw 宽的白色实线 */
    width: 100%; /* 设置宽度为 100% */
    min-height: 12.5vw; /* 设置最小高度为 12.5vw */
    display: flex; /* 使用弹性布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

div:not(:empty) {
    position: sticky; /* 设置定位为粘性定位 */
    top: 0; /* 粘性定位在顶部 */
}

div:not(:empty).big {
    top: 12.5vw; /* 如果有 big 类,则向下偏移 12.5vw */
}

.big {
    grid-column-end: span 2; /* 跨越 2 列 */
    grid-row-end: span 2; /* 跨越 2 行 */
}

.extrabig {
    grid-column-end: span 3; /* 跨越 3 列 */
    grid-row-end: span 3; /* 跨越 3 行 */
}

.superbig {
    grid-column-end: span 4; /* 跨越 4 列 */
    grid-row-end: span 4; /* 跨越 4 行 */
    font-size: 2em; /* 设置字体大小为 2em */
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/418113.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

MWC 2024丨Smart Health搭载高通Aware平台—美格发布智能健康看护解决方案,开启健康管理新体验

2月29日&#xff0c;在MWC 2024世界移动通信大会上&#xff0c;全球领先的无线通信模组及解决方案提供商——美格智能正式发布了新一代Cat.1模组SLM336Q&#xff0c;是中低速物联网应用场景的高性价比之选。本次还发布了首款搭载高通Aware™平台的智能看护解决方案MC303&#x…

Squid代理服务器配置

需求是&#xff1a;通过外网机&#xff08;跳板机&#xff09;访问内网机&#xff0c;并为内网机提供访问网络的能力。 【跳板机T】【内网机N】 公网IP&#xff1a;39.107.xx.xxx 跳板机IP&#xff1a;172.17.216.234 内网机IP&#xff1a;172.17.216.241 Squid代理服务器地址…

使用Python,maplotlib绘制树型有向层级结构图

使用Python&#xff0c;maplotlib绘制树型有向层级结构图 1. 效果图2. 源码2.1 plotTree.py绘制层级结构及不同样式2.2 plotArrow.py 支持的所有箭头样式 参考 前俩篇博客介绍了 1. 使用Python&#xff0c;networkx对卡勒德胡赛尼三部曲之《群山回唱》人物关系图谱绘制 2. 使用…

Python中reduce函数和lambda表达式的学习

reduce函数将一个数据集合&#xff08;链表&#xff0c;元组等&#xff09;中的所有数据进行下列操作&#xff1a;用传给 reduce 中的函数 function&#xff08;有两个参数&#xff09;先对集合中的第 1、2 个元素进行操作&#xff0c;得到的结果再与第三个数据用 function 函数…

基于cRIO9040 FPGA的图像处理流程

硬件准备 CompactRIO9040Basler GigE相机网线遵循GigE Vision标准的相机由高性能、多核cRIO设备支持,如cRIO-908x、cRIO-903x、cRIO-904x和cRIO-905x系列以及基于英特尔的sbRIO。 软件安装 参考:cRIO9040中NI9381模块的测试 此外,PC端需要安装VDM,VAS。 cRIO端,打开NI…

详解UDP/TCP套接字

详解UDP/TCP套接字 预备知识 理解源IP地址和目的IP地址 在IP数据包头部中, 有两个IP地址, 分别叫做源IP地址, 和目的IP地址 源IP地址&#xff1a;发送主机的IP地址。目的IP地址&#xff1a;接收主机的IP地址。 认识端口号 端口号(port)是传输层协议的内容. 端口号是一个…

NVMFS5113PLWFT1G汽车级功率MOSFET 60V 10A/64A满足AEC-Q101标准

AEC-Q101认证标准详细解读&#xff1a; AEC-Q101是一种汽车电子元件可靠性标准&#xff0c;由汽车电子委员会&#xff08;Automotive Electronics Council&#xff0c;简称AEC&#xff09;制定。该标准旨在确保在汽车环境中使用的电子元件具有足够的可靠性和耐久性。 AEC-Q10…

Docker Compose实战指南:让容器管理变得简单而强大

&#x1f9e8;个人主页&#xff1a;明明跟你说过 &#x1f6a9;欢迎&#x1f397;️点赞&#x1f638;关注❤️分享 &#x1f638;希望本文能够对您有所帮助&#xff0c;如果本文有不足之处&#xff0c;或您有更好的建议、见解&#xff0c;欢迎在评论区留下您的看法&#xff0c…

力扣hot100题解(python版29-32题)

29、删除链表的倒数第N个结点 给你一个链表&#xff0c;删除链表的倒数第 n 个结点&#xff0c;并且返回链表的头结点。 示例 1&#xff1a; 输入&#xff1a;head [1,2,3,4,5], n 2 输出&#xff1a;[1,2,3,5]示例 2&#xff1a; 输入&#xff1a;head [1], n 1 输出&a…

苍穹外卖Day03——总结3

前期文章 文章标题地址苍穹外卖Day01——总结1https://lushimeng.blog.csdn.net/article/details/135466359苍穹外卖Day01——解决总结1中存在的问题https://lushimeng.blog.csdn.net/article/details/135473412苍穹外卖Day02——总结2https://lushimeng.blog.csdn.net/articl…

Node.js中的并发和多线程处理

在Node.js中&#xff0c;处理并发和多线程是一个非常重要的话题。由于Node.js是单线程的&#xff0c;这意味着它在任何给定时间内只能执行一个任务。然而&#xff0c;Node.js的事件驱动和非阻塞I/O模型使得处理并发和多线程变得更加高效和简单。在本文中&#xff0c;我们将探讨…

gRPC知识归档

文章目录 gRPC知识归档gRPC原理什么是gRPCgRPC的特性gRPC支持语言gRPC使用场景gRPC设计的动机和原则 数据封装和数据传输问题网络传输中的内容封装和数据体积问题JSONProtobuf&#xff08;微服务之间的服务器调用&#xff0c;一般采用二进制序列化&#xff0c;比如protobuf&…

TVM 和模型优化的概述(1)

文章目录 1. 从 Tensorflow、PyTorch 或 Onnx 等框架导入模型&#xff08;model&#xff09;。2.翻译成 Relay3. lower 到 张量表达式。4. 使用 auto-tuning 模块 AutoTVM 或 AutoScheduler 搜索最佳 schedule。5. 选择最佳配置进行模型编译。6. lower 到 TIR。7. 编译成机器码…

计算机网络:数据链路层知识点汇总

文章目录 一、数据链路层功能概述二、封装成帧和透明传输三、差错控制&#xff08;检错编码&#xff09;四、差错控制&#xff08;纠错编码&#xff09;五、流量控制与可靠传输机制六、停止-等待协议七、后退N帧协议&#xff08;GBN&#xff09;八、选择重传协议&#xff08;SR…

SAP PP学习笔记04 - BOM1 - BOM创建,用途,形式,默认值,群组BOM等

本章开始讲BOM的内容。 1&#xff0c;BOM的定义 &#xff08;Bill of Materials&#xff09; 物料清单&#xff08;Bill of Materials&#xff0c;简称BOM&#xff09;是描述企业产品组成的技术文件。在加工资本式行业&#xff0c;它表明了产品的总装件、分装件、组件、部件、…

小程序固定头部实现:van-nav-bar插件

用的是Vant的NavBar插件&#xff1a; https://youzan.github.io/vant-weapp/#/nav-bar#wai-bu-yang-shi-lei 效果图 页面使用&#xff0c;放开注释的地方就可以显示左边按钮 <van-nav-bar title"精益成本核算" fixed"true" placeholder"true&qu…

Vmware Esxi 部署Mac OS虚拟机

Vmware Esxi在创建虚拟机的时候是有Mac OS选项的&#xff0c;但是实际创建时&#xff0c;选择ISO开机后一直反复引导&#xff0c;是有问题的&#xff0c;原因是需要先解锁&#xff0c;需要在ESXI主机上修改配置并重启。 首先找到管理-服务-TSM-ssh&#xff0c;点击启动&#x…

SecureCRT for Mac/win:保障数据安全的专业终端SSH工具软件

SecureCRT for Mac/win是一款广受欢迎的专业终端SSH工具软件&#xff0c;为用户提供了强大的加密通信和数据安全功能&#xff0c;使其成为网络管理人员、系统管理员和开发人员的首选工具。无论是在Mac还是Windows操作系统下&#xff0c;SecureCRT都能够帮助用户轻松地进行远程访…

数字生活的未来:Web3如何改变我们的日常

随着技术的飞速发展&#xff0c;我们的生活正变得日益数字化。而Web3作为一种新型的互联网模式&#xff0c;正以前所未有的方式改变着我们的日常生活。在本文中&#xff0c;我们将深入探讨Web3技术的特点以及它如何改变我们的数字生活。 1. Web3的特点 Web3是基于区块链技术和…

uniapp 部署h5,pdf预览

1.hubuilderx 打包h5。 2.上传部署包到服务器。 解压部署包&#xff1a;unzip h5.zip 。 3.nginx配置。 user root; worker_processes 1; #worker_cpu_affinity 0001 0010 0100 1000; #error_log logs/error.log; #error_log logs/error.log notice; error_log /var/l…