{"id":2648,"date":"2021-01-24T11:46:54","date_gmt":"2021-01-24T02:46:54","guid":{"rendered":"https:\/\/auto-worker.com\/blog\/?p=2648"},"modified":"2021-01-24T11:46:54","modified_gmt":"2021-01-24T02:46:54","slug":"post-2648","status":"publish","type":"post","link":"https:\/\/auto-worker.com\/blog\/?p=2648","title":{"rendered":"Python\u306eDjango\u3067CSS\u304c\u53cd\u6620\u3055\u308c\u306a\u3044\u5834\u5408\u306e\u5bfe\u51e6\u6cd5\u30fc\u30b9\u30fc\u30d1\u30fc\u30ea\u30ed\u30fc\u30c9\u3067\u89e3\u6c7a\u3059\u308b\u30b1\u30fc\u30b9\u3082"},"content":{"rendered":"<p>Python\u306eWeb\u30a2\u30d7\u30ea\u7528\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3042\u308bDjango\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u305f\u3068\u3053\u308d\u3001CSS\u3092\u4fee\u6b63\u3057\u3066\u3082\u3001Chrome\u30d6\u30e9\u30a6\u30b6\u306e\u8868\u793a\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>Django\u3067CSS\u306e\u5909\u66f4\u3057\u3066\u3082\u30d6\u30e9\u30a6\u30b6\u8868\u793a\u304c\u66f4\u65b0\u3055\u308c\u306a\u3044\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2>Django\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9ePython\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/h2>\n<p>Python\u306b\u306fWeb\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306eDjango\u3068\u3044\u3046\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2650 size-thumb710\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_001-710x246.jpg\" alt=\"Python\u306eWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d5\u30eb\u30b9\u30bf\u30c3\u30af\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306eDjango\u306e\u30ed\u30b4\" width=\"710\" height=\"246\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_001-710x246.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_001-300x104.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_001-768x266.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_001-530x184.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_001-565x196.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_001-725x251.jpg 725w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_001.jpg 800w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/><\/p>\n<p>\u4e00\u822c\u7684\u306bPython\u306f\u6a5f\u68b0\u5b66\u7fd2\u3084\u6570\u5024\u8a08\u7b97\u306a\u3069\u3067\u5229\u7528\u3055\u308c\u308bPython\u3067\u3059\u304c\u3001Django\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001Web\u30a2\u30d7\u30ea\u958b\u767a\u3092Python\u3067\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Django\u306f\u3044\u304f\u3064\u304b\u5b58\u5728\u3059\u308bPython\u306eWeb\u30a2\u30d7\u30ea\u7528\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u4e2d\u3067\u3082\u3001Web\u30a2\u30d7\u30ea\u3067\u6c42\u3081\u3089\u308c\u308b\u6a5f\u80fd\u304c\u30d5\u30eb\u306b\u6d3b\u7528\u3067\u304d\u308b\u306e\u304c\u30e1\u30ea\u30c3\u30c8\u306b\u6319\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n<h2>Django\u306eCSS\u304c\u30d6\u30e9\u30a6\u30b6\u3067\u66f4\u65b0\u3055\u308c\u306a\u3044<\/h2>\n<p>Django\u3067Web\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u3001Python\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u4ed6\u306b\u3001HTML\u30d5\u30a1\u30a4\u30eb\u3084\u898b\u305f\u76ee\u3092\u6574\u3048\u308bCSS\u30d5\u30a1\u30a4\u30eb\u3082\u7528\u610f\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u3001CSS\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210\u3057\u4e00\u5ea6\u8868\u793a\u78ba\u8a8d\u3057\u305f\u5f8c\u3001\u8868\u793a\u5185\u5bb9\u306e\u30c7\u30b6\u30a4\u30f3\u3092\u8abf\u6574\u3059\u308bCSS\u3092\u4fee\u6b63\u3057\u305f\u306e\u3067\u3059\u304c\u3001Chrome\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u5909\u66f4\u5185\u5bb9\u304c\u53cd\u6620\u3055\u308c\u306a\u3044\u4e8b\u8c61\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2652\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_003.jpg\" alt=\"Python\u306eDjango\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306eCSS\u304c\u66f4\u65b0\u3055\u308c\u306a\u3044\" width=\"800\" height=\"595\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_003.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_003-300x223.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_003-768x571.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_003-530x394.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_003-565x420.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_003-710x528.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_003-725x539.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>Chrome\u306e\u691c\u8a3c\u30c4\u30fc\u30eb\u3067CSS\u304c\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u3084\u3001\u5909\u66f4\u3057\u305f\u5185\u5bb9\u3092\u76f4\u63a5\u66f8\u304d\u63db\u3048\u308b\u3068\u53cd\u6620\u3055\u308c\u308b\u3053\u3068\u306f\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001F5\u30ad\u30fc\u306b\u3088\u308b\u30d6\u30e9\u30a6\u30b6\u306e\u66f4\u65b0\u3084\u3001\u30c6\u30b9\u30c8\u74b0\u5883\u3067Django\u306erunserver\u3092\u518d\u8d77\u52d5\u3057\u305f\u3082\u306e\u306e\u3001CSS\u306e\u5909\u66f4\u306f\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<h2>CSS\u306a\u3069\u306e\u9759\u7684\u30d5\u30a1\u30a4\u30eb\u306f\u30d6\u30e9\u30a6\u30b6\u3067\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u308b<\/h2>\n<p>Django\u3067CSS\u304c\u66f4\u65b0\u3055\u308c\u306a\u3044\u539f\u56e0\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<p>Chrome\u306a\u3069\u306eWeb\u30d6\u30e9\u30a6\u30b6\u306b\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u6a5f\u80fd\u304c\u3042\u308a\u3001CSS\u306a\u3069\u306e\u9759\u7684\u306a\u30d5\u30a1\u30a4\u30eb\u306f\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u30ad\u30e3\u30c3\u30b7\u30e5\u3068\u3057\u3066\u4fdd\u5b58\u3055\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u3082\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u3042\u308b\u4fee\u6b63\u5f8c\u306eCSS\u30d5\u30a1\u30a4\u30eb\u304c\u53d6\u5f97\u3055\u308c\u305a\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u305fCSS\u30d5\u30a1\u30a4\u30eb\u3067Web\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u7d50\u679c\u3001CSS\u30d5\u30a1\u30a4\u30eb\u3067\u884c\u306a\u3063\u305f\u4fee\u6b63\u5185\u5bb9\u304c\u53cd\u6620\u3055\u308c\u306a\u3044\u4e8b\u8c61\u304c\u767a\u751f\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<h2>Django\u306eCSS\u304c\u66f4\u65b0\u3055\u308c\u306a\u3044\u89e3\u6c7a\u7b56\u306f\u30b9\u30fc\u30d1\u30fc\u30ea\u30ed\u30fc\u30c9<\/h2>\n<p>Django\u3067\u4fee\u6b63\u3057\u305fCSS\u304c\u66f4\u65b0\u3055\u308c\u306a\u3044\u5834\u5408\u306f\u3001\u30b9\u30fc\u30d1\u30fc\u30ea\u30ed\u30fc\u30c9\u3068\u547c\u3070\u308c\u308b\u89e3\u6c7a\u7b56\u3067\u89e3\u6d88\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30fc\u30d1\u30fc\u30ea\u30ed\u30fc\u30c9\u306f\u901a\u5e38\u306e\u30ea\u30ed\u30fc\u30c9(\u66f4\u65b0)\u3068\u7570\u306a\u308a\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u53c2\u7167\u305b\u305a\u306b\u3001\u30b5\u30fc\u30d0\u30fc\u304b\u3089CSS\u306a\u3069\u306e\u9759\u7684\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30fc\u30d1\u30fc\u30ea\u30ed\u30fc\u30c9\u306f\u3001\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u30ad\u30fc\u3067Shift\u30ad\u30fc\u3068F5\u30ad\u30fc\u3092\u540c\u6642\u62bc\u3057\u3059\u308b\u3053\u3068\u3067\u5b9f\u884c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2654\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_005.jpg\" alt=\"Chrome\u306a\u3069\u306eWeb\u30d6\u30e9\u30a6\u30b6\u3067\u30b9\u30fc\u30d1\u30fc\u30ea\u30ed\u30fc\u30c9\u3092\u884c\u3046\u305f\u3081\u306b\u306fShift\u30ad\u30fc\u3068F5\u30ad\u30fc\u540c\u6642\u62bc\u3057\" width=\"800\" height=\"340\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_005.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_005-300x128.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_005-768x326.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_005-530x225.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_005-565x240.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_005-710x302.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/01\/20210124_auto_005-725x308.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>\u4eca\u56deDjango\u306eCSS\u304c\u53cd\u6620\u3055\u308c\u306a\u3044\u30b1\u30fc\u30b9\u3082\u3001Chrome\u3067\u30b9\u30fc\u30d1\u30fc\u30ea\u30ed\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001CSS\u304c\u66f4\u65b0\u3055\u308c\u3001\u4fee\u6b63\u5f8c\u306eWeb\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3082\u3057\u3001\u3053\u308c\u3067\u89e3\u6d88\u3057\u306a\u3044\u30b1\u30fc\u30b9\u306f\u3001Chrome\u306e\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30a6\u30a3\u30f3\u30c9\u30a6\u3084\u3001\u30b2\u30b9\u30c8\u30e6\u30fc\u30b6\u30fc\u3067\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u307e\u3068\u3081\u30fb\u7d42\u308f\u308a\u306b<\/h2>\n<p>\u4eca\u56de\u3001Python\u306eWeb\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u300cDjango\u300d\u3067CSS\u4fee\u6b63\u3057\u305f\u306b\u3082\u95a2\u308f\u3089\u305a\u30d6\u30e9\u30a6\u30b6\u4e0a\u306e\u8868\u793a\u304c\u53cd\u6620\u3055\u308c\u306a\u3044\u4e8b\u8c61\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>Django\u306eCSS\u30d5\u30a1\u30a4\u30eb\u3092\u4fee\u6b63\u3057\u3066\u3001\u30c6\u30b9\u30c8\u30b5\u30fc\u30d0\u30fc\u3092\u518d\u8d77\u52d5\u3057\u3066\u3082Chrome\u306a\u3069\u306e\u30d6\u30e9\u30a6\u30b6\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u6b8b\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u5909\u66f4\u5185\u5bb9\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u304c\u539f\u56e0\u3067\u3059\u3002<\/p>\n<p>\u89e3\u6c7a\u7b56\u3068\u3057\u3066\u306f\u3001\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u30ad\u30fc\u300cShift + F5\u300d\u3092\u62bc\u3057\u3066\u3001\u30b9\u30fc\u30d1\u30fc\u30ea\u30ed\u30fc\u30c9\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30fc\u30d1\u30fc\u30ea\u30ed\u30fc\u30c9\u306f\u30d6\u30e9\u30a6\u30b6\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u805e\u3044\u3066\u3044\u308b\u5834\u5408\u3067\u3082\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u306b\u30d5\u30a1\u30a4\u30eb\u53d6\u5f97\u3092\u884c\u3046\u305f\u3081\u3001\u4fee\u6b63\u5f8c\u306eCSS\u30d5\u30a1\u30a4\u30eb\u304c\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>Django\u306eCSS\u3092\u4fee\u6b63\u3057\u3066\u3082\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u898b\u305f\u76ee\u30fb\u30c7\u30b6\u30a4\u30f3\u304c\u5909\u308f\u3089\u306a\u3044\u5834\u5408\u306f\u30b9\u30fc\u30d1\u30fc\u30ea\u30ed\u30fc\u30c9\u3092\u8a66\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python\u306eWeb\u30a2\u30d7\u30ea\u7528\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3042\u308bDjango\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u305f\u3068\u3053\u308d\u3001CSS\u3092\u4fee\u6b63\u3057\u3066\u3082\u3001Chrome\u30d6\u30e9\u30a6\u30b6\u306e\u8868\u793a\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3057\u305f\u3002 Django\u3067CSS\u306e\u5909\u66f4\u3057\u3066\u3082\u30d6\u30e9\u30a6\u30b6\u8868\u793a\u304c\u66f4\u65b0\u3055\u308c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2653,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[430],"tags":[553,41,554],"class_list":["post-2648","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-430","tag-django","tag-python","tag-554"],"_links":{"self":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2648"}],"version-history":[{"count":2,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2648\/revisions"}],"predecessor-version":[{"id":2655,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2648\/revisions\/2655"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/2653"}],"wp:attachment":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}