<!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <title>jqueryで自分以外の兄弟要素を取得する</title> <style> .red { background: red; } .blue { background: blue; } .Brother { display: flex; } .child1, .child2, .child3, .child4 { display: block; width: 200px; height: 200px; line-height: 200px; text-align: center; border: 1px solid #ccc; margin: 10px; } </style> </head> <body> <div class="Wrapper"> <d
